summaryrefslogtreecommitdiff
path: root/arch/sparc
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-10-30 15:30:57 +0900
committerTom Rini <trini@ti.com>2014-11-04 15:01:38 -0500
commit89bedb0c10d47c3889a218c17c3ee4612ec9af6c (patch)
tree9bea0d46ccfb40e7c7ab01b18c248f0aa30c1a9f /arch/sparc
parentc2a1d5d30687e04692b1bbe386591b5efd7ad57f (diff)
downloadu-boot-imx-89bedb0c10d47c3889a218c17c3ee4612ec9af6c.zip
u-boot-imx-89bedb0c10d47c3889a218c17c3ee4612ec9af6c.tar.gz
u-boot-imx-89bedb0c10d47c3889a218c17c3ee4612ec9af6c.tar.bz2
sparc: merge CONFIG_SYS_CPU and CONFIG_SYS_VENDOR defines
For now, all the SPARC boards in U-Boot are provided by Gaisler. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Daniel Hellstrom <daniel@gaisler.com>
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/Kconfig13
1 files changed, 10 insertions, 3 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 56bdae6..2df09b2 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -1,9 +1,6 @@
menu "SPARC architecture"
depends on SPARC
-config SYS_ARCH
- default "sparc"
-
config LEON
bool
@@ -44,6 +41,16 @@ config TARGET_GRSIM
endchoice
+config SYS_ARCH
+ default "sparc"
+
+config SYS_CPU
+ default "leon2" if LEON2
+ default "leon3" if LEON3
+
+config SYS_VENDOR
+ default "gaisler"
+
source "board/gaisler/gr_cpci_ax2000/Kconfig"
source "board/gaisler/gr_ep2s60/Kconfig"
source "board/gaisler/gr_xc3s_1500/Kconfig"