arm: U8500 depends on MMU
Subsystems (3)
PATCH 1/6 arm: U8500 depends on MMU
From: Arnd Bergmann <[email protected]>
There is no way to build U8500 kernels without an MMU at this point because of dependencies on MMU-only functions.
As long as nobody is interested in fixing this, let's just disable the platforms for nommu kernels.
--- arch/arm/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/Kconfig +1 -0
@@ -901,6 +901,7 @@ config ARCH_U300 config ARCH_U8500 bool "ST-Ericsson U8500 Series" + depends on MMU select CPU_V7 select ARM_AMBA select GENERIC_CLOCKEVENTS
Signature · 1 line
1.7.5.4
PATCH 2/6 ARM: ux500: Add board autoselection
From: Arnd Bergmann <[email protected]>
At least one platform needs to be selected, so pick the u8500 development board if nothing else is selected. The first menu to choose the actual platform is meaningless and can be made invisible.
--- arch/arm/mach-ux500/Kconfig | 24 ++++++++++++++---------- 1 files changed, 14 insertions(+), 10 deletions(-)
arch/arm/mach-ux500/Kconfig +14 -10
@@ -9,24 +9,20 @@ config UX500_SOC_COMMON select ARM_ERRATA_754322 select ARM_ERRATA_764369 -menu "Ux500 SoC" - config UX500_SOC_DB5500 - bool "DB5500" + bool select MFD_DB5500_PRCMU config UX500_SOC_DB8500 - bool "DB8500" + bool select MFD_DB8500_PRCMU select REGULATOR_DB8500_PRCMU -endmenu - menu "Ux500 target platform (boards)" config MACH_U8500 bool "U8500 Development platform" - depends on UX500_SOC_DB8500 + select UX500_SOC_DB8500 select TPS6105X select SOC_BUS help
@@ -34,22 +30,30 @@ config MACH_U8500 config MACH_HREFV60 bool "U85000 Development platform, HREFv60 version" - depends on UX500_SOC_DB8500 + select UX500_SOC_DB8500 help Include support for the HREFv60 new development platform. config MACH_SNOWBALL bool "U8500 Snowball platform" - depends on UX500_SOC_DB8500 select MACH_U8500 help Include support for the snowball development platform. config MACH_U5500 bool "U5500 Development platform" - depends on UX500_SOC_DB5500 + select UX500_SOC_DB5500 help Include support for the U5500 development platform. + +config UX500_AUTO_PLATFORM + def_bool y + depends on !MACH_U5500 + select MACH_U8500 + help + At least one platform needs to be selected in order to build + a working kernel. If everything else is disabled, this + automatically enables MACH_U8500. endmenu config UX500_DEBUG_UART
Signature · 1 line
1.7.5.4
PATCH 3/6 ux500: select MFD_SUPPORT when needed
In reply to mathieu.poirier at linaro.orgFrom: Arnd Bergmann <[email protected]>
When the MFD_DBx500_PRCMU driver is selected, we
also need to select MFD_SUPPORT to guarantee a
successful build.
--- arch/arm/mach-ux500/Kconfig | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-ux500/Kconfig +2 -0
@@ -12,11 +12,13 @@ config UX500_SOC_COMMON config UX500_SOC_DB5500 bool select MFD_DB5500_PRCMU + select MFD_SUPPORT config UX500_SOC_DB8500 bool select MFD_DB8500_PRCMU select REGULATOR_DB8500_PRCMU + select MFD_SUPPORT menu "Ux500 target platform (boards)"
Signature · 1 line
1.7.5.4
PATCH 3/6 ux500: select MFD_SUPPORT when needed
Quoted 8 lines · mathieu.poirier at linaro.org
From: Arnd Bergmann <[email protected]>
When the
MFD_DBx500_PRCMUdriver is selected, we
also need to selectMFD_SUPPORTto guarantee a
successful build.Signed-off-by Arnd Bergmann <[email protected]>Signed-off-by Mathieu Poirier <[email protected]>
This one has actually become obsolete now, the MFD_SUPPORT option was recently removed.
Arnd
PATCH 3/6 ux500: select MFD_SUPPORT when needed
Quoted 7 lines · Arnd Bergmann
Quoted 6 lines · mathieu.poirier at linaro.org
From: Arnd Bergmann <[email protected]>
When the
MFD_DBx500_PRCMUdriver is selected, we
also need to selectMFD_SUPPORTto guarantee a
successful build.
Quoted 5 lines
Quoted 2 lines
Signed-off-by Arnd Bergmann <[email protected]>Signed-off-by Mathieu Poirier <[email protected]>This one has actually become obsolete now, the
MFD_SUPPORToption was recently removed.
OK skipping this and trying to apply the rest...
Thanks,
Linus Walleij
PATCH 4/6 ARM: ux500: select L2X0 cache on ux500
In reply to mathieu.poirier at linaro.orgFrom: Arnd Bergmann <[email protected]>
The cache controller needs to be enabled for the
cortex-a9 specific errata that are also selected
to work.
--- arch/arm/mach-ux500/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-ux500/Kconfig +1 -0
@@ -8,6 +8,7 @@ config UX500_SOC_COMMON select ARM_ERRATA_753970 select ARM_ERRATA_754322 select ARM_ERRATA_764369 + select CACHE_L2X0 config UX500_SOC_DB5500 bool
Signature · 1 line
1.7.5.4
PATCH 5/6 ARM: ux500: select CPU_FREQ_TABLE where needed
In reply to mathieu.poirier at linaro.orgFrom: Arnd Bergmann <[email protected]>
The ux500 platform requires CPU_FREQ_TABLE support to be enabled for its CPU_FREQ implementations, so automatically select that when CPU_FREQ is enabled.
--- arch/arm/mach-ux500/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-ux500/Kconfig +1 -0
@@ -20,6 +20,7 @@ config UX500_SOC_DB8500 select MFD_DB8500_PRCMU select REGULATOR_DB8500_PRCMU select MFD_SUPPORT + select CPU_FREQ_TABLE if CPU_FREQ menu "Ux500 target platform (boards)"
Signature · 1 line
1.7.5.4
PATCH 6/6 ARM: ux500: select I2C for U8500
In reply to mathieu.poirier at linaro.orgFrom: Arnd Bergmann <[email protected]>
The U8500 platform selects the TPS6105X, so also select the I2C layer that this driver depends on.
--- arch/arm/mach-ux500/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-ux500/Kconfig +1 -0
@@ -29,6 +29,7 @@ config MACH_U8500 select UX500_SOC_DB8500 select TPS6105X select SOC_BUS + select I2C help Include support for the mop500 development platform.
Signature · 1 line
1.7.5.4