diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-02-17 12:04:17 -0500 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2014-03-04 21:40:17 -0500 |
commit | 67f5b30875af0638ede893b6b1483d5a7d357b32 (patch) | |
tree | 76212a4aae36dc125ec104079eed2a6359d627b0 /arch/arm/mach-imx/Kconfig | |
parent | c962a0996335fae7f79e64677f47d4784b86f692 (diff) |
ARM: mach-imx: Select CONFIG_SRAM at ARCH_MXC level
Booting a mx6q system built with multi_v7_defconfig leads to the following
error messages on boot:
[ 0.037758] imx6q_ocram_suspend_init: ocram pool unavailable!
[ 0.037768] imx6_pm_common_init: failed to initialize ocram suspend -19!
This happens because CONFIG_SRAM is not selected by default in
multi_v7_defconfig.
Fix this by selecting CONFIG_SRAM at ARCH_MXC level, so that other SoCs could
use the SRAM driver as well.
As SRAM automatically selects GENERIC_ALLOCATOR, just drop it from the Kconfig
entry.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/Kconfig')
-rw-r--r-- | arch/arm/mach-imx/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index c26a619fe77e..80a3a90d0994 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig | |||
@@ -5,11 +5,11 @@ config ARCH_MXC | |||
5 | select ARCH_REQUIRE_GPIOLIB | 5 | select ARCH_REQUIRE_GPIOLIB |
6 | select ARM_CPU_SUSPEND if PM | 6 | select ARM_CPU_SUSPEND if PM |
7 | select CLKSRC_MMIO | 7 | select CLKSRC_MMIO |
8 | select GENERIC_ALLOCATOR | ||
9 | select GENERIC_IRQ_CHIP | 8 | select GENERIC_IRQ_CHIP |
10 | select PINCTRL | 9 | select PINCTRL |
11 | select PM_OPP if PM | 10 | select PM_OPP if PM |
12 | select SOC_BUS | 11 | select SOC_BUS |
12 | select SRAM | ||
13 | help | 13 | help |
14 | Support for Freescale MXC/iMX-based family of processors | 14 | Support for Freescale MXC/iMX-based family of processors |
15 | 15 | ||