Message ID | 20121106183444.GJ30931@mudshark.cambridge.arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tuesday 06 November 2012, Will Deacon wrote: > ARM: nommu: remove MMU dependency from ARCH_MULTIPLATFORM > > ARCH_MULTIPLATFORM is the only way to select ARCH_VEXPRESS, so remove > the dependency on MMU and instead use it to predicate the selection of > ARM_PATCH_PHYS_VIRT. > > Although running a multi-platform kernel on a selection of MMU-less > targets might not yet be possible, the thing should build and targetting > a nommu platform is already a fairly involved exercise. > > Cc: Arnd Bergmann <arnd@arndb.de> > Cc: Pawel Moll <Pawel.Moll@arm.com> > Signed-off-by: Will Deacon <will.deacon@arm.com> > Acked-by: Arnd Bergmann <arnd@arndb.de> Before we apply this, I should probably do a round of randconfig tests. Right now, I have a series that fixes all build errors we currently get from randconfig (which always selects MULTIPLATFORM since it doesn't randomize choice statements), but I am pretty sure that adding NOMMU into the mix gives us a lot of new errors. Arnd
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 335e220..5758cfb 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -264,8 +264,7 @@ choice config ARCH_MULTIPLATFORM bool "Allow multiple platforms to be selected" - depends on MMU - select ARM_PATCH_PHYS_VIRT + select ARM_PATCH_PHYS_VIRT if MMU select AUTO_ZRELADDR select COMMON_CLK select MULTI_IRQ_HANDLER