ARM: mpu: Allow enabling of the MPU via kconfig
authorJonathan Austin <jonathan.austin@arm.com>
Fri, 22 Feb 2013 18:56:04 +0000 (18:56 +0000)
committerJonathan Austin <jonathan.austin@arm.com>
Mon, 17 Jun 2013 14:13:03 +0000 (15:13 +0100)
commit801bb21c600161c8626d7d9cb649be869ee4dbbe
treed4418d0f772af88dbfbaa8a4019acc92c9a79df0
parenteb08375ea66e63c5e11dea69b43c5633d531ce81
ARM: mpu: Allow enabling of the MPU via kconfig

Allows the user to select MPU support when compiling for ARM processors
that support the PMSAv7.

This ensures that CONFIG_SMP depends on the MPU in the case that no MMU
is present.

CONFIG_SMP_ON_UP is not implemented for nommu, so introduce an MMU
dependency there.

Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>
Reviewed-by: Will Deacon <will.deacon@arm.com>
arch/arm/Kconfig
arch/arm/Kconfig-nommu