kconfig: arm: move "armv8" define to arch/arm/Kconfig
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 6 Nov 2014 02:39:27 +0000 (11:39 +0900)
committerTom Rini <trini@ti.com>
Thu, 13 Nov 2014 13:37:25 +0000 (08:37 -0500)
Commit 2e07c249a67e (kconfig: arm: introduce symbol for ARM CPUs)
collected the default values of CONFIG_SYS_CPU into arch/arm/Kconfig.

This commit moves "armv8" to there for consistency.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Georges Savoundararadj <savoundg@gmail.com>
arch/arm/Kconfig
arch/arm/cpu/armv8/Kconfig [deleted file]

index da1452f0ab8df66faa867963af7dd178486fc30c..7e267445826e279c120c6dba1ab9058aff8dee7d 100644 (file)
@@ -49,6 +49,7 @@ config SYS_CPU
         default "armv7" if CPU_V7
         default "pxa" if CPU_PXA
         default "sa1100" if CPU_SA1100
+       default "armv8" if ARM64
 
 choice
        prompt "Target select"
@@ -778,8 +779,6 @@ config ARCH_UNIPHIER
 
 endchoice
 
-source "arch/arm/cpu/armv8/Kconfig"
-
 source "arch/arm/cpu/arm926ejs/davinci/Kconfig"
 
 source "arch/arm/cpu/armv7/exynos/Kconfig"
diff --git a/arch/arm/cpu/armv8/Kconfig b/arch/arm/cpu/armv8/Kconfig
deleted file mode 100644 (file)
index 3d1655b..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-if ARM64
-
-config SYS_CPU
-       default "armv8"
-
-endif