ARM: select CPU_CPU15_MMU/MPU appropriately
commit66567618f37269ec55febee4dcec2a1dec1033a0
authorJonathan Austin <jonathan.austin@arm.com>
Thu, 12 Jul 2012 13:38:46 +0000 (12 14:38 +0100)
committerJonathan Austin <jonathan.austin@arm.com>
Fri, 7 Jun 2013 16:02:46 +0000 (7 17:02 +0100)
tree0ed6860a95e74ec9e36c5855fadee74c595ae966
parent8d655d835bc5c0cb7d485d147ba96249e356a697
ARM: select CPU_CPU15_MMU/MPU appropriately

Currently CPU_V7 selects CPU_CP15_MMU, however in the case of a V7 CPU
implementing the PMSA, such as the Cortex-R7, the CP15_MMU operations are
not available. Selecting CPU_CP15_MPU is appropriate in this case.

This patch makes CPU_CP15_MMU dependent on the use of the MMU, selecting
CPU_CP15_MPU for v7 processors when !MMU is chosen.

Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>
arch/arm/mm/Kconfig