]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/sparc/Kconfig
sparc: merge CONFIG_SYS_CPU and CONFIG_SYS_VENDOR defines
[karo-tx-uboot.git] / arch / sparc / Kconfig
index 56bdae66d64bd284a12ef5e418228e068c2894cc..2df09b2e50e3e18c5dacb9ce09f32f092c5ac54c 100644 (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"