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>
This commit is contained in:
Masahiro Yamada 2014-10-30 15:30:57 +09:00 committed by Tom Rini
parent c2a1d5d306
commit 89bedb0c10
6 changed files with 10 additions and 33 deletions

View file

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