mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +02:00
sh: consolidate CONFIG_SYS_CPU defines
Now each board selects one of CONFIG_CPU_SH2, CONFIG_CPU_SH3, CONFIG_CPU_SH4, so let's move CONFIG_SYS_CPU definition to arch/sh/Kconfig. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
committed by
Nobuhiro Iwamatsu
parent
7d2366627e
commit
887363b5f0
@@ -1,9 +1,6 @@
|
|||||||
menu "SuperH architecture"
|
menu "SuperH architecture"
|
||||||
depends on SH
|
depends on SH
|
||||||
|
|
||||||
config SYS_ARCH
|
|
||||||
default "sh"
|
|
||||||
|
|
||||||
config CPU_SH2
|
config CPU_SH2
|
||||||
bool
|
bool
|
||||||
|
|
||||||
@@ -110,6 +107,14 @@ config TARGET_SH7785LCR
|
|||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
config SYS_ARCH
|
||||||
|
default "sh"
|
||||||
|
|
||||||
|
config SYS_CPU
|
||||||
|
default "sh2" if CPU_SH2
|
||||||
|
default "sh3" if CPU_SH3
|
||||||
|
default "sh4" if CPU_SH4
|
||||||
|
|
||||||
source "board/alphaproject/ap_sh4a_4a/Kconfig"
|
source "board/alphaproject/ap_sh4a_4a/Kconfig"
|
||||||
source "board/espt/Kconfig"
|
source "board/espt/Kconfig"
|
||||||
source "board/mpr2/Kconfig"
|
source "board/mpr2/Kconfig"
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
if TARGET_AP_SH4A_4A
|
if TARGET_AP_SH4A_4A
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "sh4"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "ap_sh4a_4a"
|
default "ap_sh4a_4a"
|
||||||
|
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
if TARGET_ESPT
|
if TARGET_ESPT
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "sh4"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "espt"
|
default "espt"
|
||||||
|
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
if TARGET_MPR2
|
if TARGET_MPR2
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "sh3"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "mpr2"
|
default "mpr2"
|
||||||
|
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
if TARGET_MS7720SE
|
if TARGET_MS7720SE
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "sh3"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "ms7720se"
|
default "ms7720se"
|
||||||
|
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
if TARGET_MS7722SE
|
if TARGET_MS7722SE
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "sh4"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "ms7722se"
|
default "ms7722se"
|
||||||
|
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
if TARGET_MS7750SE
|
if TARGET_MS7750SE
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "sh4"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "ms7750se"
|
default "ms7750se"
|
||||||
|
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
if TARGET_MIGOR
|
if TARGET_MIGOR
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "sh4"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "MigoR"
|
default "MigoR"
|
||||||
|
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
if TARGET_AP325RXA
|
if TARGET_AP325RXA
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "sh4"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "ap325rxa"
|
default "ap325rxa"
|
||||||
|
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
if TARGET_ECOVEC
|
if TARGET_ECOVEC
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "sh4"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "ecovec"
|
default "ecovec"
|
||||||
|
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
if TARGET_R0P7734
|
if TARGET_R0P7734
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "sh4"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "r0p7734"
|
default "r0p7734"
|
||||||
|
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
if TARGET_R2DPLUS
|
if TARGET_R2DPLUS
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "sh4"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "r2dplus"
|
default "r2dplus"
|
||||||
|
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
if TARGET_R7780MP
|
if TARGET_R7780MP
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "sh4"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "r7780mp"
|
default "r7780mp"
|
||||||
|
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
if TARGET_RSK7203
|
if TARGET_RSK7203
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "sh2"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "rsk7203"
|
default "rsk7203"
|
||||||
|
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
if TARGET_RSK7264
|
if TARGET_RSK7264
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "sh2"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "rsk7264"
|
default "rsk7264"
|
||||||
|
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
if TARGET_RSK7269
|
if TARGET_RSK7269
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "sh2"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "rsk7269"
|
default "rsk7269"
|
||||||
|
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
if TARGET_SH7752EVB
|
if TARGET_SH7752EVB
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "sh4"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "sh7752evb"
|
default "sh7752evb"
|
||||||
|
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
if TARGET_SH7753EVB
|
if TARGET_SH7753EVB
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "sh4"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "sh7753evb"
|
default "sh7753evb"
|
||||||
|
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
if TARGET_SH7757LCR
|
if TARGET_SH7757LCR
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "sh4"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "sh7757lcr"
|
default "sh7757lcr"
|
||||||
|
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
if TARGET_SH7763RDP
|
if TARGET_SH7763RDP
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "sh4"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "sh7763rdp"
|
default "sh7763rdp"
|
||||||
|
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
if TARGET_SH7785LCR
|
if TARGET_SH7785LCR
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "sh4"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "sh7785lcr"
|
default "sh7785lcr"
|
||||||
|
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
if TARGET_SHMIN
|
if TARGET_SHMIN
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "sh3"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "shmin"
|
default "shmin"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user