summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-05-29 11:28:05 +0200
committerShawn Guo <shawn.guo@linaro.org>2015-06-03 14:52:31 +0800
commit0be5da9dc249391e3310cc2351e7af5ce211ac49 (patch)
tree3b406dc6bb6ba8584ac36dd73529e3836e203ccc /arch/arm/mach-imx/Kconfig
parentcc013fa8dc302c5835465155da4799a1f0b4b06d (diff)
ARM: imx: imx7d requires anatop
Like i.MX6, the i.MX7 code calls into the anatop driver, which fails if that is disabled: arch/arm/mach-imx/built-in.o: In function `imx7d_init_machine': arch/arm/mach-imx/mach-imx7d.c:24: undefined reference to `imx_anatop_init' arch/arm/mach-imx/built-in.o: In function `imx7d_init_irq': arch/arm/mach-imx/mach-imx7d.c:29: undefined reference to `imx_init_revision_from_anatop' This patch ensures that for an imx7-only build, we still get anatop built-in, matching what we do for imx6. We also need to select HAVE_IMX_MMDC, as that is needed by the anatop code. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/Kconfig')
-rw-r--r--arch/arm/mach-imx/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index f5813f9f31df..8474c38e9b18 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -586,6 +586,8 @@ config SOC_IMX7D
bool "i.MX7 Dual support"
select PINCTRL_IMX7D
select ARM_GIC
+ select HAVE_IMX_ANATOP
+ select HAVE_IMX_MMDC
help
This enables support for Freescale i.MX7 Dual processor.