ARM: imx: Place "Cortex-A/Cortex-M" comment in the correct location
authorFabio Estevam <festevam@gmail.com>
Wed, 26 Aug 2020 02:16:21 +0000 (23:16 -0300)
committerShawn Guo <shawnguo@kernel.org>
Sat, 5 Sep 2020 01:34:31 +0000 (09:34 +0800)
The menu comment "Cortex-A/Cortex-M asymmetric multiprocessing platforms"
appears when running:

make imx_v4_v5_defconfig
make menuconfig

System Type --->
[*] Freescale i.MX family  --->

This is not correct as imx_v4_v5_defconfig does not select any Cortex-A
or Cortex-M platforms.

Move the comment under the correct symbol ifdefery to fix this problem.

Fixes: 8064887e02fd ("ARM: vf610: enable Cortex-M4 configuration on Vybrid SoC")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/Kconfig

index e7d7b90..fb0c2a8 100644 (file)
@@ -541,10 +541,10 @@ config SOC_LS1021A
 
 endif
 
-comment "Cortex-A/Cortex-M asymmetric multiprocessing platforms"
-
 if ARCH_MULTI_V7 || ARM_SINGLE_ARMV7M
 
+comment "Cortex-A/Cortex-M asymmetric multiprocessing platforms"
+
 config SOC_IMX7D_CA7
        bool
        select ARM_GIC