]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - arch/arm/mach-imx/Kconfig
ARM: mach-imx: Select CONFIG_SRAM at ARCH_MXC level
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 17 Feb 2014 17:04:17 +0000 (14:04 -0300)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 5 Mar 2014 02:40:17 +0000 (10:40 +0800)
commit67f5b30875af0638ede893b6b1483d5a7d357b32
tree76212a4aae36dc125ec104079eed2a6359d627b0
parentc962a0996335fae7f79e64677f47d4784b86f692
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>
arch/arm/mach-imx/Kconfig