blob: 2128f232647df2c0088d4f59436ea710b59c496b [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"
32
33config TARGET_RSK7203
Masahiro Yamada0e294292014-11-06 15:55:20 +090034 bool "RSK+ 7203"
Masahiro Yamada7d236662014-11-06 15:55:21 +090035 select CPU_SH2A
Masahiro Yamadadd840582014-07-30 14:08:14 +090036
37config TARGET_RSK7264
Masahiro Yamada0e294292014-11-06 15:55:20 +090038 bool "RSK2+SH7264"
Masahiro Yamada7d236662014-11-06 15:55:21 +090039 select CPU_SH2A
Masahiro Yamadadd840582014-07-30 14:08:14 +090040
41config TARGET_RSK7269
Masahiro Yamada0e294292014-11-06 15:55:20 +090042 bool "RSK2+SH7269"
Masahiro Yamada7d236662014-11-06 15:55:21 +090043 select CPU_SH2A
Masahiro Yamadadd840582014-07-30 14:08:14 +090044
45config TARGET_MPR2
Masahiro Yamada0e294292014-11-06 15:55:20 +090046 bool "Magic Panel Release 2 board"
Masahiro Yamada7d236662014-11-06 15:55:21 +090047 select CPU_SH3
Masahiro Yamadadd840582014-07-30 14:08:14 +090048
49config TARGET_MS7720SE
50 bool "Support ms7720se"
Masahiro Yamada7d236662014-11-06 15:55:21 +090051 select CPU_SH3
Masahiro Yamadadd840582014-07-30 14:08:14 +090052
53config TARGET_SHMIN
Masahiro Yamada0e294292014-11-06 15:55:20 +090054 bool "SHMIN"
Masahiro Yamada7d236662014-11-06 15:55:21 +090055 select CPU_SH3
Masahiro Yamadadd840582014-07-30 14:08:14 +090056
57config TARGET_ESPT
Masahiro Yamada0e294292014-11-06 15:55:20 +090058 bool "Data Technology ESPT-GIGA board"
Masahiro Yamada7d236662014-11-06 15:55:21 +090059 select CPU_SH4
Masahiro Yamadadd840582014-07-30 14:08:14 +090060
61config TARGET_MS7722SE
Masahiro Yamada0e294292014-11-06 15:55:20 +090062 bool "SolutionEngine 7722"
Masahiro Yamada7d236662014-11-06 15:55:21 +090063 select CPU_SH4
Masahiro Yamadadd840582014-07-30 14:08:14 +090064
65config TARGET_MS7750SE
Masahiro Yamada0e294292014-11-06 15:55:20 +090066 bool "SolutionEngine 7750"
Masahiro Yamada7d236662014-11-06 15:55:21 +090067 select CPU_SH4
Masahiro Yamadadd840582014-07-30 14:08:14 +090068
69config TARGET_AP_SH4A_4A
Masahiro Yamada0e294292014-11-06 15:55:20 +090070 bool "ALPHAPROJECT AP-SH4A-4A"
Masahiro Yamadaf97eeba2014-11-06 15:55:23 +090071 select CPU_SH4A
Masahiro Yamadadd840582014-07-30 14:08:14 +090072
73config TARGET_AP325RXA
Masahiro Yamada0e294292014-11-06 15:55:20 +090074 bool "Renesas AP-325RXA"
Masahiro Yamada7d236662014-11-06 15:55:21 +090075 select CPU_SH4
Masahiro Yamadadd840582014-07-30 14:08:14 +090076
77config TARGET_ECOVEC
Masahiro Yamada0e294292014-11-06 15:55:20 +090078 bool "EcoVec"
Masahiro Yamadaf97eeba2014-11-06 15:55:23 +090079 select CPU_SH4A
Masahiro Yamadadd840582014-07-30 14:08:14 +090080
81config TARGET_MIGOR
Masahiro Yamada0e294292014-11-06 15:55:20 +090082 bool "Migo-R"
Masahiro Yamada7d236662014-11-06 15:55:21 +090083 select CPU_SH4
Masahiro Yamadadd840582014-07-30 14:08:14 +090084
85config TARGET_R0P7734
86 bool "Support r0p7734"
Masahiro Yamadaf97eeba2014-11-06 15:55:23 +090087 select CPU_SH4A
Masahiro Yamadadd840582014-07-30 14:08:14 +090088
89config TARGET_R2DPLUS
Masahiro Yamada0e294292014-11-06 15:55:20 +090090 bool "Renesas R2D-PLUS"
Masahiro Yamada7d236662014-11-06 15:55:21 +090091 select CPU_SH4
Masahiro Yamadadd840582014-07-30 14:08:14 +090092
93config TARGET_R7780MP
Masahiro Yamada0e294292014-11-06 15:55:20 +090094 bool "R7780MP board"
Masahiro Yamadaf97eeba2014-11-06 15:55:23 +090095 select CPU_SH4A
Masahiro Yamadadd840582014-07-30 14:08:14 +090096
97config TARGET_SH7752EVB
Masahiro Yamada0e294292014-11-06 15:55:20 +090098 bool "SH7752EVB"
Masahiro Yamadaf97eeba2014-11-06 15:55:23 +090099 select CPU_SH4A
Masahiro Yamadadd840582014-07-30 14:08:14 +0900100
101config TARGET_SH7753EVB
Masahiro Yamada0e294292014-11-06 15:55:20 +0900102 bool "SH7753EVB"
Masahiro Yamada7d236662014-11-06 15:55:21 +0900103 select CPU_SH4
Masahiro Yamadadd840582014-07-30 14:08:14 +0900104
105config TARGET_SH7757LCR
Masahiro Yamada0e294292014-11-06 15:55:20 +0900106 bool "SH7757LCR"
Masahiro Yamadaf97eeba2014-11-06 15:55:23 +0900107 select CPU_SH4A
Masahiro Yamadadd840582014-07-30 14:08:14 +0900108
109config TARGET_SH7763RDP
Masahiro Yamada0e294292014-11-06 15:55:20 +0900110 bool "SH7763RDP"
Masahiro Yamada7d236662014-11-06 15:55:21 +0900111 select CPU_SH4
Masahiro Yamadadd840582014-07-30 14:08:14 +0900112
113config TARGET_SH7785LCR
Masahiro Yamada0e294292014-11-06 15:55:20 +0900114 bool "SH7785LCR"
Masahiro Yamadaf97eeba2014-11-06 15:55:23 +0900115 select CPU_SH4A
Masahiro Yamadadd840582014-07-30 14:08:14 +0900116
117endchoice
118
Masahiro Yamada887363b2014-11-06 15:55:22 +0900119config SYS_ARCH
120 default "sh"
121
122config SYS_CPU
123 default "sh2" if CPU_SH2
124 default "sh3" if CPU_SH3
125 default "sh4" if CPU_SH4
126
Masahiro Yamadac3dd8232015-02-10 21:37:02 +0900127config USE_PRIVATE_LIBGCC
128 default y
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