commit | c80bb43c27dc346bdb1b220647463c40b8588f63 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Thu Mar 26 13:18:48 2020 +0900 |
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | Wed Apr 01 16:40:16 2020 +0200 |
tree | a3e983c39bd3684b39b99b32b843397687941441 | |
parent | 950ef2fd031f103d373c954afd66eedb53689fdb [diff] [blame] |
uniphier: use enable_mmu() in common function Currently, enable_mmu_el1() or enable_mmu_el3() is kept outside the common function because the appropriate one must be chosen. Use enable_mmu() and move it to the common function. Change-Id: If2fb651691a7b6be05674f5cf730ae067ba95d4b Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
diff --git a/plat/socionext/uniphier/uniphier_xlat_setup.c b/plat/socionext/uniphier/uniphier_xlat_setup.c index 66c7834..c2ac7a2 100644 --- a/plat/socionext/uniphier/uniphier_xlat_setup.c +++ b/plat/socionext/uniphier/uniphier_xlat_setup.c
@@ -63,4 +63,6 @@ MT_DEVICE | MT_RW | MT_SECURE); init_xlat_tables(); + + enable_mmu(0); }