Browse Source

kconfig: arm: move "armv8" define to arch/arm/Kconfig

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>
Masahiro Yamada 10 years ago
parent
commit
01541eeccd
2 changed files with 1 additions and 8 deletions
  1. 1 2
      arch/arm/Kconfig
  2. 0 6
      arch/arm/cpu/armv8/Kconfig

+ 1 - 2
arch/arm/Kconfig

@@ -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"

+ 0 - 6
arch/arm/cpu/armv8/Kconfig

@@ -1,6 +0,0 @@
-if ARM64
-
-config SYS_CPU
-	default "armv8"
-
-endif