blob: fa32df02fc4af3e3d5fda6b0b3e17684b2d99a26 [file] [log] [blame]
Masahiro Yamadadd840582014-07-30 14:08:14 +09001menu "SuperH architecture"
2 depends on SH
3
Masahiro Yamada7d236662014-11-06 15:55:21 +09004config CPU_SH2
5 bool
Simon Glass85fc9702017-07-23 21:19:41 -06006 imply ENV_IS_IN_FLASH
Masahiro Yamada7d236662014-11-06 15:55:21 +09007
8config CPU_SH2A
9 bool
10 select CPU_SH2
Simon Glass85fc9702017-07-23 21:19:41 -060011 imply ENV_IS_IN_FLASH
Masahiro Yamada7d236662014-11-06 15:55:21 +090012
13config CPU_SH3
14 bool
Simon Glass85fc9702017-07-23 21:19:41 -060015 imply ENV_IS_IN_FLASH
Masahiro Yamada7d236662014-11-06 15:55:21 +090016
17config CPU_SH4
18 bool
19
20config CPU_SH4A
21 bool
22 select CPU_SH4
23
Nobuhiro Iwamatsu570dd7f2014-11-14 12:52:47 +090024config SH_32BIT
25 bool "32bit mode"
26 depends on CPU_SH4A
27 default n
28 help
29 SH4A has 2 physical memory maps. This use 32bit mode.
30 And this is board specific. Please check your board if you
31 want to use this.
32
Masahiro Yamadadd840582014-07-30 14:08:14 +090033choice
34 prompt "Target select"
Joe Hershbergera26cd042015-05-12 14:46:23 -050035 optional
Masahiro Yamadadd840582014-07-30 14:08:14 +090036
37config TARGET_RSK7203
Masahiro Yamada0e294292014-11-06 15:55:20 +090038 bool "RSK+ 7203"
Masahiro Yamada7d236662014-11-06 15:55:21 +090039 select CPU_SH2A
Masahiro Yamadadd840582014-07-30 14:08:14 +090040
41config TARGET_RSK7264
Masahiro Yamada0e294292014-11-06 15:55:20 +090042 bool "RSK2+SH7264"
Masahiro Yamada7d236662014-11-06 15:55:21 +090043 select CPU_SH2A
Masahiro Yamadadd840582014-07-30 14:08:14 +090044
45config TARGET_RSK7269
Masahiro Yamada0e294292014-11-06 15:55:20 +090046 bool "RSK2+SH7269"
Masahiro Yamada7d236662014-11-06 15:55:21 +090047 select CPU_SH2A
Masahiro Yamadadd840582014-07-30 14:08:14 +090048
49config TARGET_MPR2
Masahiro Yamada0e294292014-11-06 15:55:20 +090050 bool "Magic Panel Release 2 board"
Masahiro Yamada7d236662014-11-06 15:55:21 +090051 select CPU_SH3
Masahiro Yamadadd840582014-07-30 14:08:14 +090052
53config TARGET_MS7720SE
54 bool "Support ms7720se"
Masahiro Yamada7d236662014-11-06 15:55:21 +090055 select CPU_SH3
Masahiro Yamadadd840582014-07-30 14:08:14 +090056
57config TARGET_SHMIN
Masahiro Yamada0e294292014-11-06 15:55:20 +090058 bool "SHMIN"
Masahiro Yamada7d236662014-11-06 15:55:21 +090059 select CPU_SH3
Masahiro Yamadadd840582014-07-30 14:08:14 +090060
61config TARGET_ESPT
Masahiro Yamada0e294292014-11-06 15:55:20 +090062 bool "Data Technology ESPT-GIGA board"
Masahiro Yamada7d236662014-11-06 15:55:21 +090063 select CPU_SH4
Masahiro Yamadadd840582014-07-30 14:08:14 +090064
65config TARGET_MS7722SE
Masahiro Yamada0e294292014-11-06 15:55:20 +090066 bool "SolutionEngine 7722"
Masahiro Yamada7d236662014-11-06 15:55:21 +090067 select CPU_SH4
Masahiro Yamadadd840582014-07-30 14:08:14 +090068
69config TARGET_MS7750SE
Masahiro Yamada0e294292014-11-06 15:55:20 +090070 bool "SolutionEngine 7750"
Masahiro Yamada7d236662014-11-06 15:55:21 +090071 select CPU_SH4
Masahiro Yamadadd840582014-07-30 14:08:14 +090072
73config TARGET_AP_SH4A_4A
Masahiro Yamada0e294292014-11-06 15:55:20 +090074 bool "ALPHAPROJECT AP-SH4A-4A"
Masahiro Yamadaf97eeba2014-11-06 15:55:23 +090075 select CPU_SH4A
Masahiro Yamadadd840582014-07-30 14:08:14 +090076
77config TARGET_AP325RXA
Masahiro Yamada0e294292014-11-06 15:55:20 +090078 bool "Renesas AP-325RXA"
Masahiro Yamada7d236662014-11-06 15:55:21 +090079 select CPU_SH4
Masahiro Yamadadd840582014-07-30 14:08:14 +090080
81config TARGET_ECOVEC
Masahiro Yamada0e294292014-11-06 15:55:20 +090082 bool "EcoVec"
Masahiro Yamadaf97eeba2014-11-06 15:55:23 +090083 select CPU_SH4A
Masahiro Yamadadd840582014-07-30 14:08:14 +090084
85config TARGET_MIGOR
Masahiro Yamada0e294292014-11-06 15:55:20 +090086 bool "Migo-R"
Masahiro Yamada7d236662014-11-06 15:55:21 +090087 select CPU_SH4
Masahiro Yamadadd840582014-07-30 14:08:14 +090088
89config TARGET_R0P7734
90 bool "Support r0p7734"
Masahiro Yamadaf97eeba2014-11-06 15:55:23 +090091 select CPU_SH4A
Masahiro Yamadadd840582014-07-30 14:08:14 +090092
93config TARGET_R2DPLUS
Masahiro Yamada0e294292014-11-06 15:55:20 +090094 bool "Renesas R2D-PLUS"
Masahiro Yamada7d236662014-11-06 15:55:21 +090095 select CPU_SH4
Masahiro Yamadadd840582014-07-30 14:08:14 +090096
97config TARGET_R7780MP
Masahiro Yamada0e294292014-11-06 15:55:20 +090098 bool "R7780MP board"
Masahiro Yamadaf97eeba2014-11-06 15:55:23 +090099 select CPU_SH4A
Masahiro Yamadadd840582014-07-30 14:08:14 +0900100
101config TARGET_SH7752EVB
Masahiro Yamada0e294292014-11-06 15:55:20 +0900102 bool "SH7752EVB"
Masahiro Yamadaf97eeba2014-11-06 15:55:23 +0900103 select CPU_SH4A
Masahiro Yamadadd840582014-07-30 14:08:14 +0900104
105config TARGET_SH7753EVB
Masahiro Yamada0e294292014-11-06 15:55:20 +0900106 bool "SH7753EVB"
Masahiro Yamada7d236662014-11-06 15:55:21 +0900107 select CPU_SH4
Masahiro Yamadadd840582014-07-30 14:08:14 +0900108
109config TARGET_SH7757LCR
Masahiro Yamada0e294292014-11-06 15:55:20 +0900110 bool "SH7757LCR"
Masahiro Yamadaf97eeba2014-11-06 15:55:23 +0900111 select CPU_SH4A
Masahiro Yamadadd840582014-07-30 14:08:14 +0900112
113config TARGET_SH7763RDP
Masahiro Yamada0e294292014-11-06 15:55:20 +0900114 bool "SH7763RDP"
Masahiro Yamada7d236662014-11-06 15:55:21 +0900115 select CPU_SH4
Masahiro Yamadadd840582014-07-30 14:08:14 +0900116
117config TARGET_SH7785LCR
Masahiro Yamada0e294292014-11-06 15:55:20 +0900118 bool "SH7785LCR"
Masahiro Yamadaf97eeba2014-11-06 15:55:23 +0900119 select CPU_SH4A
Masahiro Yamadadd840582014-07-30 14:08:14 +0900120
121endchoice
122
Masahiro Yamada887363b2014-11-06 15:55:22 +0900123config SYS_ARCH
124 default "sh"
125
126config SYS_CPU
127 default "sh2" if CPU_SH2
128 default "sh3" if CPU_SH3
129 default "sh4" if CPU_SH4
130
Simon Glass2a728f32017-08-04 16:34:47 -0600131source "arch/sh/lib/Kconfig"
132
Masahiro Yamadadd840582014-07-30 14:08:14 +0900133source "board/alphaproject/ap_sh4a_4a/Kconfig"
134source "board/espt/Kconfig"
135source "board/mpr2/Kconfig"
136source "board/ms7720se/Kconfig"
137source "board/ms7722se/Kconfig"
138source "board/ms7750se/Kconfig"
139source "board/renesas/MigoR/Kconfig"
140source "board/renesas/ap325rxa/Kconfig"
141source "board/renesas/ecovec/Kconfig"
142source "board/renesas/r0p7734/Kconfig"
143source "board/renesas/r2dplus/Kconfig"
144source "board/renesas/r7780mp/Kconfig"
145source "board/renesas/rsk7203/Kconfig"
146source "board/renesas/rsk7264/Kconfig"
147source "board/renesas/rsk7269/Kconfig"
148source "board/renesas/sh7752evb/Kconfig"
149source "board/renesas/sh7753evb/Kconfig"
150source "board/renesas/sh7757lcr/Kconfig"
151source "board/renesas/sh7763rdp/Kconfig"
152source "board/renesas/sh7785lcr/Kconfig"
153source "board/shmin/Kconfig"
154
155endmenu