diff mbox series

ARM: imx: Place "Cortex-A/Cortex-M" comment in the correct location

Message ID 20200826021621.17038-1-festevam@gmail.com
State New
Headers show
Series ARM: imx: Place "Cortex-A/Cortex-M" comment in the correct location | expand

Commit Message

Fabio Estevam Aug. 26, 2020, 2:16 a.m. UTC
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>
---
 arch/arm/mach-imx/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Shawn Guo Sept. 5, 2020, 1:34 a.m. UTC | #1
On Tue, Aug 25, 2020 at 11:16:21PM -0300, Fabio Estevam wrote:
> 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>

Applied, thanks.
diff mbox series

Patch

diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index e7d7b90e2cf8..fb0c2a83268a 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -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