xref: /openbmc/u-boot/arch/sh/Kconfig (revision fa87abb6)
1menu "SuperH architecture"
2	depends on SH
3
4config CPU_SH2
5	bool
6	imply ENV_IS_IN_FLASH
7
8config CPU_SH2A
9	bool
10	select CPU_SH2
11	imply ENV_IS_IN_FLASH
12
13config CPU_SH3
14	bool
15	imply ENV_IS_IN_FLASH
16
17config CPU_SH4
18	bool
19
20config CPU_SH4A
21	bool
22	select CPU_SH4
23
24config 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
33choice
34	prompt "Target select"
35	optional
36
37config TARGET_RSK7203
38	bool "RSK+ 7203"
39	select CPU_SH2A
40
41config TARGET_RSK7264
42	bool "RSK2+SH7264"
43	select CPU_SH2A
44
45config TARGET_RSK7269
46	bool "RSK2+SH7269"
47	select CPU_SH2A
48
49config TARGET_MPR2
50	bool "Magic Panel Release 2 board"
51	select CPU_SH3
52
53config TARGET_MS7720SE
54	bool "Support ms7720se"
55	select CPU_SH3
56
57config TARGET_SHMIN
58	bool "SHMIN"
59	select CPU_SH3
60
61config TARGET_ESPT
62	bool "Data Technology ESPT-GIGA board"
63	select CPU_SH4
64
65config TARGET_MS7722SE
66	bool "SolutionEngine 7722"
67	select CPU_SH4
68
69config TARGET_MS7750SE
70	bool "SolutionEngine 7750"
71	select CPU_SH4
72
73config TARGET_AP_SH4A_4A
74	bool "ALPHAPROJECT AP-SH4A-4A"
75	select CPU_SH4A
76
77config TARGET_AP325RXA
78	bool "Renesas AP-325RXA"
79	select CPU_SH4
80
81config TARGET_ECOVEC
82	bool "EcoVec"
83	select CPU_SH4A
84
85config TARGET_MIGOR
86	bool "Migo-R"
87	select CPU_SH4
88
89config TARGET_R0P7734
90	bool "Support r0p7734"
91	select CPU_SH4A
92
93config TARGET_R2DPLUS
94	bool "Renesas R2D-PLUS"
95	select CPU_SH4
96
97config TARGET_R7780MP
98	bool "R7780MP board"
99	select CPU_SH4A
100
101config TARGET_SH7752EVB
102	bool "SH7752EVB"
103	select CPU_SH4A
104
105config TARGET_SH7753EVB
106	bool "SH7753EVB"
107	select CPU_SH4
108
109config TARGET_SH7757LCR
110	bool "SH7757LCR"
111	select CPU_SH4A
112
113config TARGET_SH7763RDP
114	bool "SH7763RDP"
115	select CPU_SH4
116
117config TARGET_SH7785LCR
118	bool "SH7785LCR"
119	select CPU_SH4A
120
121endchoice
122
123config 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
131source "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
154