]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: imx: fix dependencies on imx7ulp
authorArnd Bergmann <arnd@arndb.de>
Mon, 10 Dec 2018 20:47:59 +0000 (21:47 +0100)
committerShawn Guo <shawnguo@kernel.org>
Tue, 11 Dec 2018 02:41:20 +0000 (10:41 +0800)
The i.MX7D configuration was reworked, but that change did
not get propagated into the newly added i.MX7ULP, which now
produces a Kconfig warning:

WARNING: unmet direct dependencies detected for HAVE_ARM_ARCH_TIMER
  Depends on [n]: CPU_V7 [=n]
  Selected by [y]:
  - SOC_IMX7ULP [=y] && ARCH_MXC [=y] && (ARCH_MULTI_V7 [=n] || ARM_SINGLE_ARMV7M [=y])

Change it to work the same way as i.MX7D.

Fixes: 1a1f919eb52e ("ARM: imx: Provide support for NXP i.MX7D Cortex-M4")
Fixes: de70d0e9d43d ("ARM: imx: add initial support for imx7ulp")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/Kconfig

index c12a05cbf2684e0b56d83643e5c75f568851c129..9b8d4d6aa76362a3ddb91749cb4af559b887529b 100644 (file)
@@ -560,10 +560,10 @@ config SOC_IMX7D
 
 config SOC_IMX7ULP
        bool "i.MX7ULP support"
-       select ARM_GIC
        select CLKSRC_IMX_TPM
-       select HAVE_ARM_ARCH_TIMER
        select PINCTRL_IMX7ULP
+       select SOC_IMX7D_CA7 if ARCH_MULTI_V7
+       select SOC_IMX7D_CM4 if ARM_SINGLE_ARMV7M
        help
          This enables support for Freescale i.MX7 Ultra Low Power processor.