X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=arch%2Fsh%2FKconfig;h=6ac22af2f149054d2208e02b2a3743bc087a22f3;hb=e7994858ec7943f6f163f507c04dff45bb6c539c;hp=49b00da8fb0a397d635621143daded08f0e06fcc;hpb=7d2366627e1f4d1dbf80e65d5bf72b832ca128c9;p=u-boot diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 49b00da8fb..6ac22af2f1 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig @@ -1,9 +1,6 @@ menu "SuperH architecture" depends on SH -config SYS_ARCH - default "sh" - config CPU_SH2 bool @@ -21,8 +18,18 @@ config CPU_SH4A bool select CPU_SH4 +config SH_32BIT + bool "32bit mode" + depends on CPU_SH4A + default n + help + SH4A has 2 physical memory maps. This use 32bit mode. + And this is board specific. Please check your board if you + want to use this. + choice prompt "Target select" + optional config TARGET_RSK7203 bool "RSK+ 7203" @@ -62,7 +69,7 @@ config TARGET_MS7750SE config TARGET_AP_SH4A_4A bool "ALPHAPROJECT AP-SH4A-4A" - select CPU_SH4 + select CPU_SH4A config TARGET_AP325RXA bool "Renesas AP-325RXA" @@ -70,7 +77,7 @@ config TARGET_AP325RXA config TARGET_ECOVEC bool "EcoVec" - select CPU_SH4 + select CPU_SH4A config TARGET_MIGOR bool "Migo-R" @@ -78,7 +85,7 @@ config TARGET_MIGOR config TARGET_R0P7734 bool "Support r0p7734" - select CPU_SH4 + select CPU_SH4A config TARGET_R2DPLUS bool "Renesas R2D-PLUS" @@ -86,11 +93,11 @@ config TARGET_R2DPLUS config TARGET_R7780MP bool "R7780MP board" - select CPU_SH4 + select CPU_SH4A config TARGET_SH7752EVB bool "SH7752EVB" - select CPU_SH4 + select CPU_SH4A config TARGET_SH7753EVB bool "SH7753EVB" @@ -98,7 +105,7 @@ config TARGET_SH7753EVB config TARGET_SH7757LCR bool "SH7757LCR" - select CPU_SH4 + select CPU_SH4A config TARGET_SH7763RDP bool "SH7763RDP" @@ -106,10 +113,18 @@ config TARGET_SH7763RDP config TARGET_SH7785LCR bool "SH7785LCR" - select CPU_SH4 + select CPU_SH4A 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/espt/Kconfig" source "board/mpr2/Kconfig"