diff options
author | Achin Gupta <achin.gupta@arm.com> | 2014-06-26 08:59:07 +0100 |
---|---|---|
committer | Achin Gupta <achin.gupta@arm.com> | 2014-07-19 23:31:52 +0100 |
commit | afff8cbdd816ca9b0d71ab54882ce70b21ed84e1 (patch) | |
tree | 45cd0afb3cdcc7db4fd42669e0430a57fa396768 /plat/common | |
parent | 754a2b7a092d3cf81767f1b5a6ab61531792e45f (diff) |
Make enablement of the MMU more flexible
This patch adds a 'flags' parameter to each exception level specific function
responsible for enabling the MMU. At present only a single flag which indicates
whether the data cache should also be enabled is implemented. Subsequent patches
will use this flag when enabling the MMU in the warm boot paths.
Change-Id: I0eafae1e678c9ecc604e680851093f1680e9cefa
Diffstat (limited to 'plat/common')
-rw-r--r-- | plat/common/aarch64/plat_common.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plat/common/aarch64/plat_common.c b/plat/common/aarch64/plat_common.c index 94b9dfdf..90574fd6 100644 --- a/plat/common/aarch64/plat_common.c +++ b/plat/common/aarch64/plat_common.c @@ -38,12 +38,12 @@ #pragma weak bl31_plat_enable_mmu #pragma weak bl32_plat_enable_mmu -void bl31_plat_enable_mmu(void) +void bl31_plat_enable_mmu(uint32_t flags) { - enable_mmu_el3(); + enable_mmu_el3(flags); } -void bl32_plat_enable_mmu(void) +void bl32_plat_enable_mmu(uint32_t flags) { - enable_mmu_el1(); + enable_mmu_el1(flags); } |