blob: 2f7a2fe073bf25361cea0818a1c64c7a93e13205 [file] [log] [blame]
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001menu "SuperH architecture"
2 depends on SH
3
Masahiro Yamada4770e412014-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 Iwamatsu3c01f362014-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 Yamadad3ae6782014-07-30 14:08:14 +090030choice
31 prompt "Target select"
Joe Hershbergerf0699602015-05-12 14:46:23 -050032 optional
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090033
34config TARGET_RSK7203
Masahiro Yamada7085d7d2014-11-06 15:55:20 +090035 bool "RSK+ 7203"
Masahiro Yamada4770e412014-11-06 15:55:21 +090036 select CPU_SH2A
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090037
38config TARGET_RSK7264
Masahiro Yamada7085d7d2014-11-06 15:55:20 +090039 bool "RSK2+SH7264"
Masahiro Yamada4770e412014-11-06 15:55:21 +090040 select CPU_SH2A
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090041
42config TARGET_RSK7269
Masahiro Yamada7085d7d2014-11-06 15:55:20 +090043 bool "RSK2+SH7269"
Masahiro Yamada4770e412014-11-06 15:55:21 +090044 select CPU_SH2A
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090045
46config TARGET_MPR2
Masahiro Yamada7085d7d2014-11-06 15:55:20 +090047 bool "Magic Panel Release 2 board"
Masahiro Yamada4770e412014-11-06 15:55:21 +090048 select CPU_SH3
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090049
50config TARGET_MS7720SE
51 bool "Support ms7720se"
Masahiro Yamada4770e412014-11-06 15:55:21 +090052 select CPU_SH3
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090053
54config TARGET_SHMIN
Masahiro Yamada7085d7d2014-11-06 15:55:20 +090055 bool "SHMIN"
Masahiro Yamada4770e412014-11-06 15:55:21 +090056 select CPU_SH3
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090057
58config TARGET_ESPT
Masahiro Yamada7085d7d2014-11-06 15:55:20 +090059 bool "Data Technology ESPT-GIGA board"
Masahiro Yamada4770e412014-11-06 15:55:21 +090060 select CPU_SH4
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090061
62config TARGET_MS7722SE
Masahiro Yamada7085d7d2014-11-06 15:55:20 +090063 bool "SolutionEngine 7722"
Masahiro Yamada4770e412014-11-06 15:55:21 +090064 select CPU_SH4
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090065
66config TARGET_MS7750SE
Masahiro Yamada7085d7d2014-11-06 15:55:20 +090067 bool "SolutionEngine 7750"
Masahiro Yamada4770e412014-11-06 15:55:21 +090068 select CPU_SH4
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090069
70config TARGET_AP_SH4A_4A
Masahiro Yamada7085d7d2014-11-06 15:55:20 +090071 bool "ALPHAPROJECT AP-SH4A-4A"
Masahiro Yamada39f05282014-11-06 15:55:23 +090072 select CPU_SH4A
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090073
74config TARGET_AP325RXA
Masahiro Yamada7085d7d2014-11-06 15:55:20 +090075 bool "Renesas AP-325RXA"
Masahiro Yamada4770e412014-11-06 15:55:21 +090076 select CPU_SH4
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090077
78config TARGET_ECOVEC
Masahiro Yamada7085d7d2014-11-06 15:55:20 +090079 bool "EcoVec"
Masahiro Yamada39f05282014-11-06 15:55:23 +090080 select CPU_SH4A
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090081
82config TARGET_MIGOR
Masahiro Yamada7085d7d2014-11-06 15:55:20 +090083 bool "Migo-R"
Masahiro Yamada4770e412014-11-06 15:55:21 +090084 select CPU_SH4
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090085
86config TARGET_R0P7734
87 bool "Support r0p7734"
Masahiro Yamada39f05282014-11-06 15:55:23 +090088 select CPU_SH4A
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090089
90config TARGET_R2DPLUS
Masahiro Yamada7085d7d2014-11-06 15:55:20 +090091 bool "Renesas R2D-PLUS"
Masahiro Yamada4770e412014-11-06 15:55:21 +090092 select CPU_SH4
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090093
94config TARGET_R7780MP
Masahiro Yamada7085d7d2014-11-06 15:55:20 +090095 bool "R7780MP board"
Masahiro Yamada39f05282014-11-06 15:55:23 +090096 select CPU_SH4A
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090097
98config TARGET_SH7752EVB
Masahiro Yamada7085d7d2014-11-06 15:55:20 +090099 bool "SH7752EVB"
Masahiro Yamada39f05282014-11-06 15:55:23 +0900100 select CPU_SH4A
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900101
102config TARGET_SH7753EVB
Masahiro Yamada7085d7d2014-11-06 15:55:20 +0900103 bool "SH7753EVB"
Masahiro Yamada4770e412014-11-06 15:55:21 +0900104 select CPU_SH4
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900105
106config TARGET_SH7757LCR
Masahiro Yamada7085d7d2014-11-06 15:55:20 +0900107 bool "SH7757LCR"
Masahiro Yamada39f05282014-11-06 15:55:23 +0900108 select CPU_SH4A
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900109
110config TARGET_SH7763RDP
Masahiro Yamada7085d7d2014-11-06 15:55:20 +0900111 bool "SH7763RDP"
Masahiro Yamada4770e412014-11-06 15:55:21 +0900112 select CPU_SH4
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900113
114config TARGET_SH7785LCR
Masahiro Yamada7085d7d2014-11-06 15:55:20 +0900115 bool "SH7785LCR"
Masahiro Yamada39f05282014-11-06 15:55:23 +0900116 select CPU_SH4A
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900117
118endchoice
119
Masahiro Yamadaa759b1a2014-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
Masahiro Yamada03e517a2015-02-10 21:37:02 +0900128config USE_PRIVATE_LIBGCC
129 default y
130
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900131source "board/alphaproject/ap_sh4a_4a/Kconfig"
132source "board/espt/Kconfig"
133source "board/mpr2/Kconfig"
134source "board/ms7720se/Kconfig"
135source "board/ms7722se/Kconfig"
136source "board/ms7750se/Kconfig"
137source "board/renesas/MigoR/Kconfig"
138source "board/renesas/ap325rxa/Kconfig"
139source "board/renesas/ecovec/Kconfig"
140source "board/renesas/r0p7734/Kconfig"
141source "board/renesas/r2dplus/Kconfig"
142source "board/renesas/r7780mp/Kconfig"
143source "board/renesas/rsk7203/Kconfig"
144source "board/renesas/rsk7264/Kconfig"
145source "board/renesas/rsk7269/Kconfig"
146source "board/renesas/sh7752evb/Kconfig"
147source "board/renesas/sh7753evb/Kconfig"
148source "board/renesas/sh7757lcr/Kconfig"
149source "board/renesas/sh7763rdp/Kconfig"
150source "board/renesas/sh7785lcr/Kconfig"
151source "board/shmin/Kconfig"
152
153endmenu