]> git.ipfire.org Git - thirdparty/u-boot.git/blame - arch/Kconfig
configs: Migrate the various SPL_BOOT_xxx choices for PowerPC
[thirdparty/u-boot.git] / arch / Kconfig
CommitLineData
a350c6a6
MY
1config CREATE_ARCH_SYMLINK
2 bool
3
9a387128
MY
4config HAVE_ARCH_IOREMAP
5 bool
6
51631259
MY
7choice
8 prompt "Architecture select"
9 default SANDBOX
10
11config ARC
12 bool "ARC architecture"
a421192f 13 select ARCH_EARLY_INIT_R
5ed063d1 14 select ARC_TIMER
3daa7c7b 15 select CLK
5ed063d1
MS
16 select HAVE_PRIVATE_LIBGCC
17 select SUPPORT_OF_CONTROL
3daa7c7b 18 select TIMER
51631259
MY
19
20config ARM
21 bool "ARM architecture"
a350c6a6 22 select CREATE_ARCH_SYMLINK
64b77ed2 23 select HAVE_PRIVATE_LIBGCC if !ARM64
783e6a72 24 select SUPPORT_OF_CONTROL
51631259 25
51631259
MY
26config M68K
27 bool "M68000 architecture"
6463fd8f 28 select HAVE_PRIVATE_LIBGCC
405fc830
DW
29 select SYS_BOOT_GET_CMDLINE
30 select SYS_BOOT_GET_KBD
abe0f879 31 select SUPPORT_OF_CONTROL
51631259
MY
32
33config MICROBLAZE
34 bool "MicroBlaze architecture"
783e6a72 35 select SUPPORT_OF_CONTROL
1b330894 36 imply CMD_IRQ
51631259
MY
37
38config MIPS
39 bool "MIPS architecture"
9a387128 40 select HAVE_ARCH_IOREMAP
45ccec8f 41 select HAVE_PRIVATE_LIBGCC
0fc13a90 42 select SUPPORT_OF_CONTROL
51631259
MY
43
44config NDS32
45 bool "NDS32 architecture"
86132af7 46 select SUPPORT_OF_CONTROL
51631259
MY
47
48config NIOS2
49 bool "Nios II architecture"
bcae80e9 50 select CPU
5ed063d1
MS
51 select DM
52 select OF_CONTROL
53 select SUPPORT_OF_CONTROL
08a00cba 54 imply CMD_DM
51631259 55
51631259
MY
56config PPC
57 bool "PowerPC architecture"
45ccec8f 58 select HAVE_PRIVATE_LIBGCC
c1c61573 59 select SUPPORT_OF_CONTROL
405fc830
DW
60 select SYS_BOOT_GET_CMDLINE
61 select SYS_BOOT_GET_KBD
51631259 62
068feb9b 63config RISCV
117a433d 64 bool "RISC-V architecture"
7c8d210b 65 select CREATE_ARCH_SYMLINK
068feb9b 66 select SUPPORT_OF_CONTROL
bf6cc82c
BM
67 select OF_CONTROL
68 select DM
cd1f45c2
BM
69 imply DM_SERIAL
70 imply DM_ETH
71 imply DM_MMC
72 imply DM_SPI
73 imply DM_SPI_FLASH
74 imply BLK
75 imply CLK
76 imply MTD
77 imply TIMER
bf6cc82c 78 imply CMD_DM
068feb9b 79
51631259
MY
80config SANDBOX
81 bool "Sandbox"
e5ec4815 82 select BOARD_LATE_INIT
58d423b8 83 select DM
5ed063d1
MS
84 select DM_GPIO
85 select DM_I2C
558e1257 86 select DM_KEYBOARD
5ed063d1 87 select DM_MMC
58d423b8 88 select DM_SERIAL
58d423b8 89 select DM_SPI
5ed063d1 90 select DM_SPI_FLASH
1811a928 91 select HAVE_BLOCK_DEVICE
d56b4b19 92 select LZO
5ed063d1
MS
93 select SPI
94 select SUPPORT_OF_CONTROL
0f1caa98 95 imply BITREVERSE
919e7a8f 96 select BLOBLIST
08a00cba 97 imply CMD_DM
ded48cdc 98 imply CMD_GETTIME
551c3934 99 imply CMD_HASH
594e8d1c 100 imply CMD_IO
7d0f5c13 101 imply CMD_IOTRACE
ee7c0e71 102 imply CMD_LZMADEC
5ed063d1
MS
103 imply CMD_SATA
104 imply CMD_SF_TEST
91d27a17
TR
105 imply CRC32_VERIFY
106 imply FAT_WRITE
31b8217e 107 imply FIRMWARE
221a949e 108 imply HASH_VERIFY
91d27a17 109 imply LZMA
fedb428c 110 imply SCSI
fe39e8e0 111 imply TEE
0a60a81b
JW
112 imply AVB_VERIFY
113 imply LIBAVB
114 imply CMD_AVB
115 imply UDP_FUNCTION_FASTBOOT
4f89d494
BM
116 imply VIRTIO_MMIO
117 imply VIRTIO_PCI
118 imply VIRTIO_SANDBOX
119 imply VIRTIO_BLK
120 imply VIRTIO_NET
2a049572 121 imply DM_SOUND
c882163b 122 imply PCH
51631259
MY
123
124config SH
125 bool "SuperH architecture"
45ccec8f 126 select HAVE_PRIVATE_LIBGCC
51631259 127
51631259
MY
128config X86
129 bool "x86 architecture"
98987902
SG
130 select SUPPORT_SPL
131 select SUPPORT_TPL
a350c6a6 132 select CREATE_ARCH_SYMLINK
58d423b8 133 select DM
6bf89de7 134 select DM_PCI
3bf9a8e8 135 select HAVE_ARCH_IOMAP
5ed063d1
MS
136 select HAVE_PRIVATE_LIBGCC
137 select OF_CONTROL
4f0faacb 138 select PCI
5ed063d1 139 select SUPPORT_OF_CONTROL
0ce9c576 140 select TIMER
5ed063d1 141 select USE_PRIVATE_LIBGCC
0ce9c576 142 select X86_TSC_TIMER
24357dfd 143 imply BLK
08a00cba 144 imply CMD_DM
5ed063d1
MS
145 imply CMD_FPGA_LOADMK
146 imply CMD_GETTIME
147 imply CMD_IO
148 imply CMD_IRQ
149 imply CMD_PCI
150 imply CMD_SF_TEST
151 imply CMD_ZBOOT
4f0faacb
BM
152 imply DM_ETH
153 imply DM_GPIO
154 imply DM_KEYBOARD
b7c6baef 155 imply DM_MMC
4f0faacb 156 imply DM_RTC
24357dfd 157 imply DM_SCSI
5ed063d1 158 imply DM_SERIAL
4f0faacb
BM
159 imply DM_SPI
160 imply DM_SPI_FLASH
161 imply DM_USB
162 imply DM_VIDEO
b37b7b20 163 imply SYSRESET
09259fce 164 imply SPL_SYSRESET
b37b7b20 165 imply SYSRESET_X86
f58ad98a
CP
166 imply USB_ETHER_ASIX
167 imply USB_ETHER_SMSC95XX
5ed063d1 168 imply USB_HOST_ETHER
c882163b 169 imply PCH
31d5261d 170 imply RTC_MC146818
51631259 171
98987902
SG
172 # Thing to enable for when SPL/TPL are enabled: SPL
173 imply SPL_DM
174 imply SPL_OF_LIBFDT
175 imply SPL_DRIVERS_MISC_SUPPORT
176 imply SPL_GPIO_SUPPORT
177 imply SPL_LIBCOMMON_SUPPORT
178 imply SPL_LIBGENERIC_SUPPORT
179 imply SPL_SERIAL_SUPPORT
180 imply SPL_SPI_FLASH_SUPPORT
181 imply SPL_SPI_SUPPORT
182 imply SPL_OF_CONTROL
183 imply SPL_TIMER
184 imply SPL_REGMAP
185 imply SPL_SYSCON
186 # TPL
187 imply TPL_DM
188 imply TPL_OF_LIBFDT
189 imply TPL_DRIVERS_MISC_SUPPORT
190 imply TPL_GPIO_SUPPORT
191 imply TPL_LIBCOMMON_SUPPORT
192 imply TPL_LIBGENERIC_SUPPORT
193 imply TPL_SERIAL_SUPPORT
194 imply TPL_SPI_FLASH_SUPPORT
195 imply TPL_SPI_SUPPORT
196 imply TPL_OF_CONTROL
197 imply TPL_TIMER
198 imply TPL_REGMAP
199 imply TPL_SYSCON
200
c978b524
CZ
201config XTENSA
202 bool "Xtensa architecture"
203 select CREATE_ARCH_SYMLINK
204 select SUPPORT_OF_CONTROL
205
51631259
MY
206endchoice
207
3174e4e8
MY
208config SYS_ARCH
209 string
210 help
211 This option should contain the architecture name to build the
212 appropriate arch/<CONFIG_SYS_ARCH> directory.
213 All the architectures should specify this option correctly.
214
215config SYS_CPU
216 string
217 help
218 This option should contain the CPU name to build the correct
219 arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
220
221 This is optional. For those targets without the CPU directory,
222 leave this option empty.
223
224config SYS_SOC
225 string
226 help
227 This option should contain the SoC name to build the directory
228 arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
229
230 This is optional. For those targets without the SoC directory,
231 leave this option empty.
232
233config SYS_VENDOR
234 string
235 help
236 This option should contain the vendor name of the target board.
237 If it is set and
238 board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
239 directory is compiled.
240 If CONFIG_SYS_BOARD is also set, the sources under
241 board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
242
243 This is optional. For those targets without the vendor directory,
244 leave this option empty.
245
246config SYS_BOARD
247 string
248 help
249 This option should contain the name of the target board.
250 If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
251 or board/<CONFIG_SYS_BOARD> directory is compiled depending on
252 whether CONFIG_SYS_VENDOR is set or not.
253
254 This is optional. For those targets without the board directory,
255 leave this option empty.
256
257config SYS_CONFIG_NAME
258 string
259 help
260 This option should contain the base name of board header file.
261 The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
262 should be included from include/config.h.
263
add49671
VR
264config SYS_DISABLE_DCACHE_OPS
265 bool
266 help
267 This option disables dcache flush and dcache invalidation
268 operations. For example, on coherent systems where cache
269 operatios are not required, enable this option to avoid them.
270 Note that, its up to the individual architectures to implement
271 this functionality.
272
51631259
MY
273source "arch/arc/Kconfig"
274source "arch/arm/Kconfig"
51631259
MY
275source "arch/m68k/Kconfig"
276source "arch/microblaze/Kconfig"
277source "arch/mips/Kconfig"
278source "arch/nds32/Kconfig"
279source "arch/nios2/Kconfig"
51631259
MY
280source "arch/powerpc/Kconfig"
281source "arch/sandbox/Kconfig"
282source "arch/sh/Kconfig"
51631259 283source "arch/x86/Kconfig"
c978b524 284source "arch/xtensa/Kconfig"
068feb9b 285source "arch/riscv/Kconfig"