blob: d20761e66cad03e988df35f6ae4512adba77ecd9 [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
6
7config CPU_SH2A
8 bool
9 select CPU_SH2
10
11config CPU_SH3
12 bool
13
14config CPU_SH4
15 bool
16
17config CPU_SH4A
18 bool
19 select CPU_SH4
20
Nobuhiro Iwamatsu570dd7f2014-11-14 12:52:47 +090021config SH_32BIT
22 bool "32bit mode"
23 depends on CPU_SH4A
24 default n
25 help
26 SH4A has 2 physical memory maps. This use 32bit mode.
27 And this is board specific. Please check your board if you
28 want to use this.
29
Masahiro Yamadadd840582014-07-30 14:08:14 +090030choice
31 prompt "Target select"
Joe Hershbergera26cd042015-05-12 14:46:23 -050032 optional
Masahiro Yamadadd840582014-07-30 14:08:14 +090033
34config TARGET_RSK7203
Masahiro Yamada0e294292014-11-06 15:55:20 +090035 bool "RSK+ 7203"
Masahiro Yamada7d236662014-11-06 15:55:21 +090036 select CPU_SH2A
Masahiro Yamadadd840582014-07-30 14:08:14 +090037
38config TARGET_RSK7264
Masahiro Yamada0e294292014-11-06 15:55:20 +090039 bool "RSK2+SH7264"
Masahiro Yamada7d236662014-11-06 15:55:21 +090040 select CPU_SH2A
Masahiro Yamadadd840582014-07-30 14:08:14 +090041
42config TARGET_RSK7269
Masahiro Yamada0e294292014-11-06 15:55:20 +090043 bool "RSK2+SH7269"
Masahiro Yamada7d236662014-11-06 15:55:21 +090044 select CPU_SH2A
Masahiro Yamadadd840582014-07-30 14:08:14 +090045
46config TARGET_MPR2
Masahiro Yamada0e294292014-11-06 15:55:20 +090047 bool "Magic Panel Release 2 board"
Masahiro Yamada7d236662014-11-06 15:55:21 +090048 select CPU_SH3
Masahiro Yamadadd840582014-07-30 14:08:14 +090049
50config TARGET_MS7720SE
51 bool "Support ms7720se"
Masahiro Yamada7d236662014-11-06 15:55:21 +090052 select CPU_SH3
Masahiro Yamadadd840582014-07-30 14:08:14 +090053
54config TARGET_SHMIN
Masahiro Yamada0e294292014-11-06 15:55:20 +090055 bool "SHMIN"
Masahiro Yamada7d236662014-11-06 15:55:21 +090056 select CPU_SH3
Masahiro Yamadadd840582014-07-30 14:08:14 +090057
58config TARGET_ESPT
Masahiro Yamada0e294292014-11-06 15:55:20 +090059 bool "Data Technology ESPT-GIGA board"
Masahiro Yamada7d236662014-11-06 15:55:21 +090060 select CPU_SH4
Masahiro Yamadadd840582014-07-30 14:08:14 +090061
62config TARGET_MS7722SE
Masahiro Yamada0e294292014-11-06 15:55:20 +090063 bool "SolutionEngine 7722"
Masahiro Yamada7d236662014-11-06 15:55:21 +090064 select CPU_SH4
Masahiro Yamadadd840582014-07-30 14:08:14 +090065
66config TARGET_MS7750SE
Masahiro Yamada0e294292014-11-06 15:55:20 +090067 bool "SolutionEngine 7750"
Masahiro Yamada7d236662014-11-06 15:55:21 +090068 select CPU_SH4
Masahiro Yamadadd840582014-07-30 14:08:14 +090069
70config TARGET_AP_SH4A_4A
Masahiro Yamada0e294292014-11-06 15:55:20 +090071 bool "ALPHAPROJECT AP-SH4A-4A"
Masahiro Yamadaf97eeba2014-11-06 15:55:23 +090072 select CPU_SH4A
Masahiro Yamadadd840582014-07-30 14:08:14 +090073
74config TARGET_AP325RXA
Masahiro Yamada0e294292014-11-06 15:55:20 +090075 bool "Renesas AP-325RXA"
Masahiro Yamada7d236662014-11-06 15:55:21 +090076 select CPU_SH4
Masahiro Yamadadd840582014-07-30 14:08:14 +090077
78config TARGET_ECOVEC
Masahiro Yamada0e294292014-11-06 15:55:20 +090079 bool "EcoVec"
Masahiro Yamadaf97eeba2014-11-06 15:55:23 +090080 select CPU_SH4A
Masahiro Yamadadd840582014-07-30 14:08:14 +090081
82config TARGET_MIGOR
Masahiro Yamada0e294292014-11-06 15:55:20 +090083 bool "Migo-R"
Masahiro Yamada7d236662014-11-06 15:55:21 +090084 select CPU_SH4
Masahiro Yamadadd840582014-07-30 14:08:14 +090085
86config TARGET_R0P7734
87 bool "Support r0p7734"
Masahiro Yamadaf97eeba2014-11-06 15:55:23 +090088 select CPU_SH4A
Masahiro Yamadadd840582014-07-30 14:08:14 +090089
90config TARGET_R2DPLUS
Masahiro Yamada0e294292014-11-06 15:55:20 +090091 bool "Renesas R2D-PLUS"
Masahiro Yamada7d236662014-11-06 15:55:21 +090092 select CPU_SH4
Masahiro Yamadadd840582014-07-30 14:08:14 +090093
94config TARGET_R7780MP
Masahiro Yamada0e294292014-11-06 15:55:20 +090095 bool "R7780MP board"
Masahiro Yamadaf97eeba2014-11-06 15:55:23 +090096 select CPU_SH4A
Masahiro Yamadadd840582014-07-30 14:08:14 +090097
98config TARGET_SH7752EVB
Masahiro Yamada0e294292014-11-06 15:55:20 +090099 bool "SH7752EVB"
Masahiro Yamadaf97eeba2014-11-06 15:55:23 +0900100 select CPU_SH4A
Masahiro Yamadadd840582014-07-30 14:08:14 +0900101
102config TARGET_SH7753EVB
Masahiro Yamada0e294292014-11-06 15:55:20 +0900103 bool "SH7753EVB"
Masahiro Yamada7d236662014-11-06 15:55:21 +0900104 select CPU_SH4
Masahiro Yamadadd840582014-07-30 14:08:14 +0900105
106config TARGET_SH7757LCR
Masahiro Yamada0e294292014-11-06 15:55:20 +0900107 bool "SH7757LCR"
Masahiro Yamadaf97eeba2014-11-06 15:55:23 +0900108 select CPU_SH4A
Masahiro Yamadadd840582014-07-30 14:08:14 +0900109
110config TARGET_SH7763RDP
Masahiro Yamada0e294292014-11-06 15:55:20 +0900111 bool "SH7763RDP"
Masahiro Yamada7d236662014-11-06 15:55:21 +0900112 select CPU_SH4
Masahiro Yamadadd840582014-07-30 14:08:14 +0900113
114config TARGET_SH7785LCR
Masahiro Yamada0e294292014-11-06 15:55:20 +0900115 bool "SH7785LCR"
Masahiro Yamadaf97eeba2014-11-06 15:55:23 +0900116 select CPU_SH4A
Masahiro Yamadadd840582014-07-30 14:08:14 +0900117
118endchoice
119
Masahiro Yamada887363b2014-11-06 15:55:22 +0900120config SYS_ARCH
121 default "sh"
122
123config SYS_CPU
124 default "sh2" if CPU_SH2
125 default "sh3" if CPU_SH3
126 default "sh4" if CPU_SH4
127
Simon Glass2a728f32017-08-04 16:34:47 -0600128source "arch/sh/lib/Kconfig"
129
Masahiro Yamadadd840582014-07-30 14:08:14 +0900130source "board/alphaproject/ap_sh4a_4a/Kconfig"
131source "board/espt/Kconfig"
132source "board/mpr2/Kconfig"
133source "board/ms7720se/Kconfig"
134source "board/ms7722se/Kconfig"
135source "board/ms7750se/Kconfig"
136source "board/renesas/MigoR/Kconfig"
137source "board/renesas/ap325rxa/Kconfig"
138source "board/renesas/ecovec/Kconfig"
139source "board/renesas/r0p7734/Kconfig"
140source "board/renesas/r2dplus/Kconfig"
141source "board/renesas/r7780mp/Kconfig"
142source "board/renesas/rsk7203/Kconfig"
143source "board/renesas/rsk7264/Kconfig"
144source "board/renesas/rsk7269/Kconfig"
145source "board/renesas/sh7752evb/Kconfig"
146source "board/renesas/sh7753evb/Kconfig"
147source "board/renesas/sh7757lcr/Kconfig"
148source "board/renesas/sh7763rdp/Kconfig"
149source "board/renesas/sh7785lcr/Kconfig"
150source "board/shmin/Kconfig"
151
152endmenu