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>
master
Masahiro Yamada 10 years ago committed by Tom Rini
parent c2a1d5d306
commit 89bedb0c10
  1. 13
      arch/sparc/Kconfig
  2. 6
      board/gaisler/gr_cpci_ax2000/Kconfig
  3. 6
      board/gaisler/gr_ep2s60/Kconfig
  4. 6
      board/gaisler/gr_xc3s_1500/Kconfig
  5. 6
      board/gaisler/grsim/Kconfig
  6. 6
      board/gaisler/grsim_leon2/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"

@ -1,14 +1,8 @@
if TARGET_GR_CPCI_AX2000
config SYS_CPU
default "leon3"
config SYS_BOARD
default "gr_cpci_ax2000"
config SYS_VENDOR
default "gaisler"
config SYS_CONFIG_NAME
default "gr_cpci_ax2000"

@ -1,14 +1,8 @@
if TARGET_GR_EP2S60
config SYS_CPU
default "leon3"
config SYS_BOARD
default "gr_ep2s60"
config SYS_VENDOR
default "gaisler"
config SYS_CONFIG_NAME
default "gr_ep2s60"

@ -1,14 +1,8 @@
if TARGET_GR_XC3S_1500
config SYS_CPU
default "leon3"
config SYS_BOARD
default "gr_xc3s_1500"
config SYS_VENDOR
default "gaisler"
config SYS_CONFIG_NAME
default "gr_xc3s_1500"

@ -1,14 +1,8 @@
if TARGET_GRSIM
config SYS_CPU
default "leon3"
config SYS_BOARD
default "grsim"
config SYS_VENDOR
default "gaisler"
config SYS_CONFIG_NAME
default "grsim"

@ -1,14 +1,8 @@
if TARGET_GRSIM_LEON2
config SYS_CPU
default "leon2"
config SYS_BOARD
default "grsim_leon2"
config SYS_VENDOR
default "gaisler"
config SYS_CONFIG_NAME
default "grsim_leon2"

Loading…
Cancel
Save