From: Arnd Bergmann Date: Fri, 29 May 2015 09:28:05 +0000 (+0200) Subject: ARM: imx: imx7d requires anatop X-Git-Tag: v4.14-rc1~5175^2~8^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0be5da9dc249391e3310cc2351e7af5ce211ac49;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Shawn Guo --- diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index f5813f9..8474c38 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.