]>
Commit | Line | Data |
---|---|---|
a350c6a6 MY |
1 | config CREATE_ARCH_SYMLINK |
2 | bool | |
3 | ||
9a387128 MY |
4 | config HAVE_ARCH_IOREMAP |
5 | bool | |
6 | ||
35b7ca76 MS |
7 | config NEEDS_MANUAL_RELOC |
8 | bool | |
9 | ||
0b2fa98a SG |
10 | config LINKER_LIST_ALIGN |
11 | int | |
12 | default 32 if SANDBOX | |
13 | default 8 if ARM64 || X86 | |
14 | default 4 | |
15 | help | |
16 | Force the each linker list to be aligned to this boundary. This | |
17 | is required if ll_entry_get() is used, since otherwise the linker | |
18 | may add padding into the table, thus breaking it. | |
19 | See linker_lists.rst for full details. | |
20 | ||
51631259 MY |
21 | choice |
22 | prompt "Architecture select" | |
23 | default SANDBOX | |
24 | ||
25 | config ARC | |
26 | bool "ARC architecture" | |
5ed063d1 | 27 | select ARC_TIMER |
3daa7c7b | 28 | select CLK |
7b56432c | 29 | select DM |
5ed063d1 MS |
30 | select HAVE_PRIVATE_LIBGCC |
31 | select SUPPORT_OF_CONTROL | |
3daa7c7b | 32 | select TIMER |
51631259 MY |
33 | |
34 | config ARM | |
35 | bool "ARM architecture" | |
8f969651 | 36 | select ARCH_SUPPORTS_LTO |
a350c6a6 | 37 | select CREATE_ARCH_SYMLINK |
64b77ed2 | 38 | select HAVE_PRIVATE_LIBGCC if !ARM64 |
783e6a72 | 39 | select SUPPORT_OF_CONTROL |
51631259 | 40 | |
51631259 MY |
41 | config M68K |
42 | bool "M68000 architecture" | |
6463fd8f | 43 | select HAVE_PRIVATE_LIBGCC |
35b7ca76 | 44 | select NEEDS_MANUAL_RELOC |
405fc830 DW |
45 | select SYS_BOOT_GET_CMDLINE |
46 | select SYS_BOOT_GET_KBD | |
abe0f879 | 47 | select SUPPORT_OF_CONTROL |
51631259 MY |
48 | |
49 | config MICROBLAZE | |
50 | bool "MicroBlaze architecture" | |
35b7ca76 | 51 | select NEEDS_MANUAL_RELOC |
783e6a72 | 52 | select SUPPORT_OF_CONTROL |
1b330894 | 53 | imply CMD_IRQ |
51631259 MY |
54 | |
55 | config MIPS | |
56 | bool "MIPS architecture" | |
9a387128 | 57 | select HAVE_ARCH_IOREMAP |
45ccec8f | 58 | select HAVE_PRIVATE_LIBGCC |
0fc13a90 | 59 | select SUPPORT_OF_CONTROL |
51631259 MY |
60 | |
61 | config NDS32 | |
62 | bool "NDS32 architecture" | |
86132af7 | 63 | select SUPPORT_OF_CONTROL |
51631259 MY |
64 | |
65 | config NIOS2 | |
66 | bool "Nios II architecture" | |
bcae80e9 | 67 | select CPU |
5ed063d1 MS |
68 | select DM |
69 | select OF_CONTROL | |
70 | select SUPPORT_OF_CONTROL | |
08a00cba | 71 | imply CMD_DM |
51631259 | 72 | |
51631259 MY |
73 | config PPC |
74 | bool "PowerPC architecture" | |
45ccec8f | 75 | select HAVE_PRIVATE_LIBGCC |
c1c61573 | 76 | select SUPPORT_OF_CONTROL |
405fc830 DW |
77 | select SYS_BOOT_GET_CMDLINE |
78 | select SYS_BOOT_GET_KBD | |
51631259 | 79 | |
068feb9b | 80 | config RISCV |
117a433d | 81 | bool "RISC-V architecture" |
7c8d210b | 82 | select CREATE_ARCH_SYMLINK |
068feb9b | 83 | select SUPPORT_OF_CONTROL |
bf6cc82c BM |
84 | select OF_CONTROL |
85 | select DM | |
cd1f45c2 BM |
86 | imply DM_SERIAL |
87 | imply DM_ETH | |
88 | imply DM_MMC | |
89 | imply DM_SPI | |
90 | imply DM_SPI_FLASH | |
91 | imply BLK | |
92 | imply CLK | |
93 | imply MTD | |
94 | imply TIMER | |
bf6cc82c | 95 | imply CMD_DM |
8c59f202 LA |
96 | imply SPL_DM |
97 | imply SPL_OF_CONTROL | |
98 | imply SPL_LIBCOMMON_SUPPORT | |
99 | imply SPL_LIBGENERIC_SUPPORT | |
100 | imply SPL_SERIAL_SUPPORT | |
101 | imply SPL_TIMER | |
068feb9b | 102 | |
51631259 MY |
103 | config SANDBOX |
104 | bool "Sandbox" | |
94bb891e | 105 | select ARCH_SUPPORTS_LTO |
e5ec4815 | 106 | select BOARD_LATE_INIT |
efc06448 | 107 | select BZIP2 |
b1ad4157 | 108 | select CMD_POWEROFF |
58d423b8 | 109 | select DM |
5ed063d1 MS |
110 | select DM_GPIO |
111 | select DM_I2C | |
558e1257 | 112 | select DM_KEYBOARD |
5ed063d1 | 113 | select DM_MMC |
58d423b8 | 114 | select DM_SERIAL |
58d423b8 | 115 | select DM_SPI |
5ed063d1 | 116 | select DM_SPI_FLASH |
efc06448 | 117 | select GZIP_COMPRESSED |
1811a928 | 118 | select HAVE_BLOCK_DEVICE |
d56b4b19 | 119 | select LZO |
1c0bc80a | 120 | select OF_BOARD_SETUP |
bb413337 | 121 | select PCI_ENDPOINT |
5ed063d1 MS |
122 | select SPI |
123 | select SUPPORT_OF_CONTROL | |
b1ad4157 | 124 | select SYSRESET_CMD_POWEROFF |
57c675d6 | 125 | select IRQ |
95300f20 | 126 | select SUPPORT_EXTENSION_SCAN |
0f1caa98 | 127 | imply BITREVERSE |
919e7a8f | 128 | select BLOBLIST |
1b457e75 | 129 | imply LTO |
08a00cba | 130 | imply CMD_DM |
6ca5ff3f | 131 | imply CMD_EXCEPTION |
ded48cdc | 132 | imply CMD_GETTIME |
551c3934 | 133 | imply CMD_HASH |
594e8d1c | 134 | imply CMD_IO |
7d0f5c13 | 135 | imply CMD_IOTRACE |
ee7c0e71 | 136 | imply CMD_LZMADEC |
5ed063d1 | 137 | imply CMD_SATA |
a4298dda | 138 | imply CMD_SF |
5ed063d1 | 139 | imply CMD_SF_TEST |
91d27a17 TR |
140 | imply CRC32_VERIFY |
141 | imply FAT_WRITE | |
31b8217e | 142 | imply FIRMWARE |
221a949e | 143 | imply HASH_VERIFY |
91d27a17 | 144 | imply LZMA |
fedb428c | 145 | imply SCSI |
fe39e8e0 | 146 | imply TEE |
0a60a81b JW |
147 | imply AVB_VERIFY |
148 | imply LIBAVB | |
149 | imply CMD_AVB | |
7c591a84 IO |
150 | imply SCP03 |
151 | imply CMD_SCP03 | |
0a60a81b | 152 | imply UDP_FUNCTION_FASTBOOT |
4f89d494 BM |
153 | imply VIRTIO_MMIO |
154 | imply VIRTIO_PCI | |
155 | imply VIRTIO_SANDBOX | |
156 | imply VIRTIO_BLK | |
157 | imply VIRTIO_NET | |
2a049572 | 158 | imply DM_SOUND |
bb413337 | 159 | imply PCI_SANDBOX_EP |
c882163b | 160 | imply PCH |
ec9594a5 AM |
161 | imply PHYLIB |
162 | imply DM_MDIO | |
c3d9f3f8 | 163 | imply DM_MDIO_MUX |
3b65ee34 SG |
164 | imply ACPI_PMC |
165 | imply ACPI_PMC_SANDBOX | |
166 | imply CMD_PMC | |
4a4830cf | 167 | imply CMD_CLONE |
f158ba15 | 168 | imply SILENT_CONSOLE |
51bb3384 | 169 | imply BOOTARGS_SUBST |
ff98da06 CM |
170 | imply PHY_FIXED |
171 | imply DM_DSA | |
95300f20 | 172 | imply CMD_EXTENSION |
51631259 MY |
173 | |
174 | config SH | |
175 | bool "SuperH architecture" | |
45ccec8f | 176 | select HAVE_PRIVATE_LIBGCC |
8c2c4635 | 177 | select SUPPORT_OF_CONTROL |
51631259 | 178 | |
51631259 MY |
179 | config X86 |
180 | bool "x86 architecture" | |
98987902 SG |
181 | select SUPPORT_SPL |
182 | select SUPPORT_TPL | |
a350c6a6 | 183 | select CREATE_ARCH_SYMLINK |
58d423b8 | 184 | select DM |
6bf89de7 | 185 | select DM_PCI |
3bf9a8e8 | 186 | select HAVE_ARCH_IOMAP |
5ed063d1 MS |
187 | select HAVE_PRIVATE_LIBGCC |
188 | select OF_CONTROL | |
4f0faacb | 189 | select PCI |
5ed063d1 | 190 | select SUPPORT_OF_CONTROL |
0ce9c576 | 191 | select TIMER |
5ed063d1 | 192 | select USE_PRIVATE_LIBGCC |
0ce9c576 | 193 | select X86_TSC_TIMER |
543d091e | 194 | select IRQ |
bcd4e6f3 | 195 | imply HAS_ROM if X86_RESET_VECTOR |
24357dfd | 196 | imply BLK |
08a00cba | 197 | imply CMD_DM |
5ed063d1 MS |
198 | imply CMD_FPGA_LOADMK |
199 | imply CMD_GETTIME | |
200 | imply CMD_IO | |
201 | imply CMD_IRQ | |
202 | imply CMD_PCI | |
a4298dda | 203 | imply CMD_SF |
5ed063d1 MS |
204 | imply CMD_SF_TEST |
205 | imply CMD_ZBOOT | |
4f0faacb BM |
206 | imply DM_ETH |
207 | imply DM_GPIO | |
208 | imply DM_KEYBOARD | |
b7c6baef | 209 | imply DM_MMC |
4f0faacb | 210 | imply DM_RTC |
24357dfd | 211 | imply DM_SCSI |
5ed063d1 | 212 | imply DM_SERIAL |
4f0faacb BM |
213 | imply DM_SPI |
214 | imply DM_SPI_FLASH | |
215 | imply DM_USB | |
216 | imply DM_VIDEO | |
b37b7b20 | 217 | imply SYSRESET |
09259fce | 218 | imply SPL_SYSRESET |
b37b7b20 | 219 | imply SYSRESET_X86 |
f58ad98a CP |
220 | imply USB_ETHER_ASIX |
221 | imply USB_ETHER_SMSC95XX | |
5ed063d1 | 222 | imply USB_HOST_ETHER |
c882163b | 223 | imply PCH |
31d5261d | 224 | imply RTC_MC146818 |
d40d2c57 | 225 | imply ACPIGEN if !QEMU |
839d66cd SG |
226 | imply SYSINFO if GENERATE_SMBIOS_TABLE |
227 | imply SYSINFO_SMBIOS if GENERATE_SMBIOS_TABLE | |
51631259 | 228 | |
98987902 SG |
229 | # Thing to enable for when SPL/TPL are enabled: SPL |
230 | imply SPL_DM | |
231 | imply SPL_OF_LIBFDT | |
9ca00684 | 232 | imply SPL_DRIVERS_MISC |
83061dbd | 233 | imply SPL_GPIO |
e556d3d6 | 234 | imply SPL_PINCTRL |
98987902 SG |
235 | imply SPL_LIBCOMMON_SUPPORT |
236 | imply SPL_LIBGENERIC_SUPPORT | |
237 | imply SPL_SERIAL_SUPPORT | |
238 | imply SPL_SPI_FLASH_SUPPORT | |
239 | imply SPL_SPI_SUPPORT | |
240 | imply SPL_OF_CONTROL | |
241 | imply SPL_TIMER | |
242 | imply SPL_REGMAP | |
243 | imply SPL_SYSCON | |
244 | # TPL | |
245 | imply TPL_DM | |
9ca00684 | 246 | imply TPL_DRIVERS_MISC |
83061dbd | 247 | imply TPL_GPIO |
e556d3d6 | 248 | imply TPL_PINCTRL |
98987902 SG |
249 | imply TPL_LIBCOMMON_SUPPORT |
250 | imply TPL_LIBGENERIC_SUPPORT | |
251 | imply TPL_SERIAL_SUPPORT | |
98987902 SG |
252 | imply TPL_OF_CONTROL |
253 | imply TPL_TIMER | |
254 | imply TPL_REGMAP | |
255 | imply TPL_SYSCON | |
256 | ||
c978b524 CZ |
257 | config XTENSA |
258 | bool "Xtensa architecture" | |
259 | select CREATE_ARCH_SYMLINK | |
260 | select SUPPORT_OF_CONTROL | |
261 | ||
51631259 MY |
262 | endchoice |
263 | ||
3174e4e8 MY |
264 | config SYS_ARCH |
265 | string | |
266 | help | |
267 | This option should contain the architecture name to build the | |
268 | appropriate arch/<CONFIG_SYS_ARCH> directory. | |
269 | All the architectures should specify this option correctly. | |
270 | ||
271 | config SYS_CPU | |
272 | string | |
273 | help | |
274 | This option should contain the CPU name to build the correct | |
275 | arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory. | |
276 | ||
277 | This is optional. For those targets without the CPU directory, | |
278 | leave this option empty. | |
279 | ||
280 | config SYS_SOC | |
281 | string | |
282 | help | |
283 | This option should contain the SoC name to build the directory | |
284 | arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>. | |
285 | ||
286 | This is optional. For those targets without the SoC directory, | |
287 | leave this option empty. | |
288 | ||
289 | config SYS_VENDOR | |
290 | string | |
291 | help | |
292 | This option should contain the vendor name of the target board. | |
293 | If it is set and | |
294 | board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common | |
295 | directory is compiled. | |
296 | If CONFIG_SYS_BOARD is also set, the sources under | |
297 | board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled. | |
298 | ||
299 | This is optional. For those targets without the vendor directory, | |
300 | leave this option empty. | |
301 | ||
302 | config SYS_BOARD | |
303 | string | |
304 | help | |
305 | This option should contain the name of the target board. | |
306 | If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> | |
307 | or board/<CONFIG_SYS_BOARD> directory is compiled depending on | |
308 | whether CONFIG_SYS_VENDOR is set or not. | |
309 | ||
310 | This is optional. For those targets without the board directory, | |
311 | leave this option empty. | |
312 | ||
313 | config SYS_CONFIG_NAME | |
314 | string | |
315 | help | |
316 | This option should contain the base name of board header file. | |
317 | The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h | |
318 | should be included from include/config.h. | |
319 | ||
add49671 VR |
320 | config SYS_DISABLE_DCACHE_OPS |
321 | bool | |
322 | help | |
323 | This option disables dcache flush and dcache invalidation | |
324 | operations. For example, on coherent systems where cache | |
325 | operatios are not required, enable this option to avoid them. | |
326 | Note that, its up to the individual architectures to implement | |
327 | this functionality. | |
328 | ||
51631259 MY |
329 | source "arch/arc/Kconfig" |
330 | source "arch/arm/Kconfig" | |
51631259 MY |
331 | source "arch/m68k/Kconfig" |
332 | source "arch/microblaze/Kconfig" | |
333 | source "arch/mips/Kconfig" | |
334 | source "arch/nds32/Kconfig" | |
335 | source "arch/nios2/Kconfig" | |
51631259 MY |
336 | source "arch/powerpc/Kconfig" |
337 | source "arch/sandbox/Kconfig" | |
338 | source "arch/sh/Kconfig" | |
51631259 | 339 | source "arch/x86/Kconfig" |
c978b524 | 340 | source "arch/xtensa/Kconfig" |
068feb9b | 341 | source "arch/riscv/Kconfig" |