]>
Commit | Line | Data |
---|---|---|
a350c6a6 MY |
1 | config CREATE_ARCH_SYMLINK |
2 | bool | |
3 | ||
9a387128 MY |
4 | config HAVE_ARCH_IOREMAP |
5 | bool | |
6 | ||
51631259 MY |
7 | choice |
8 | prompt "Architecture select" | |
9 | default SANDBOX | |
10 | ||
11 | config 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 | |
20 | config 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 |
26 | config 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 | |
33 | config MICROBLAZE | |
34 | bool "MicroBlaze architecture" | |
783e6a72 | 35 | select SUPPORT_OF_CONTROL |
1b330894 | 36 | imply CMD_IRQ |
51631259 MY |
37 | |
38 | config 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 | |
44 | config NDS32 | |
45 | bool "NDS32 architecture" | |
86132af7 | 46 | select SUPPORT_OF_CONTROL |
51631259 MY |
47 | |
48 | config 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 |
56 | config 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 | 63 | config 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 |
8c59f202 LA |
79 | imply SPL_DM |
80 | imply SPL_OF_CONTROL | |
81 | imply SPL_LIBCOMMON_SUPPORT | |
82 | imply SPL_LIBGENERIC_SUPPORT | |
83 | imply SPL_SERIAL_SUPPORT | |
84 | imply SPL_TIMER | |
068feb9b | 85 | |
51631259 MY |
86 | config SANDBOX |
87 | bool "Sandbox" | |
e5ec4815 | 88 | select BOARD_LATE_INIT |
58d423b8 | 89 | select DM |
5ed063d1 MS |
90 | select DM_GPIO |
91 | select DM_I2C | |
558e1257 | 92 | select DM_KEYBOARD |
5ed063d1 | 93 | select DM_MMC |
58d423b8 | 94 | select DM_SERIAL |
58d423b8 | 95 | select DM_SPI |
5ed063d1 | 96 | select DM_SPI_FLASH |
1811a928 | 97 | select HAVE_BLOCK_DEVICE |
d56b4b19 | 98 | select LZO |
bb413337 | 99 | select PCI_ENDPOINT |
5ed063d1 MS |
100 | select SPI |
101 | select SUPPORT_OF_CONTROL | |
b8050511 | 102 | select SYSRESET_CMD_POWEROFF if CMD_POWEROFF |
0f1caa98 | 103 | imply BITREVERSE |
919e7a8f | 104 | select BLOBLIST |
08a00cba | 105 | imply CMD_DM |
ded48cdc | 106 | imply CMD_GETTIME |
551c3934 | 107 | imply CMD_HASH |
594e8d1c | 108 | imply CMD_IO |
7d0f5c13 | 109 | imply CMD_IOTRACE |
ee7c0e71 | 110 | imply CMD_LZMADEC |
5ed063d1 | 111 | imply CMD_SATA |
a4298dda | 112 | imply CMD_SF |
5ed063d1 | 113 | imply CMD_SF_TEST |
91d27a17 TR |
114 | imply CRC32_VERIFY |
115 | imply FAT_WRITE | |
31b8217e | 116 | imply FIRMWARE |
221a949e | 117 | imply HASH_VERIFY |
91d27a17 | 118 | imply LZMA |
fedb428c | 119 | imply SCSI |
fe39e8e0 | 120 | imply TEE |
0a60a81b JW |
121 | imply AVB_VERIFY |
122 | imply LIBAVB | |
123 | imply CMD_AVB | |
124 | imply UDP_FUNCTION_FASTBOOT | |
4f89d494 BM |
125 | imply VIRTIO_MMIO |
126 | imply VIRTIO_PCI | |
127 | imply VIRTIO_SANDBOX | |
128 | imply VIRTIO_BLK | |
129 | imply VIRTIO_NET | |
2a049572 | 130 | imply DM_SOUND |
bb413337 | 131 | imply PCI_SANDBOX_EP |
c882163b | 132 | imply PCH |
ec9594a5 AM |
133 | imply PHYLIB |
134 | imply DM_MDIO | |
c3d9f3f8 | 135 | imply DM_MDIO_MUX |
3b65ee34 SG |
136 | imply ACPI_PMC |
137 | imply ACPI_PMC_SANDBOX | |
138 | imply CMD_PMC | |
51631259 MY |
139 | |
140 | config SH | |
141 | bool "SuperH architecture" | |
45ccec8f | 142 | select HAVE_PRIVATE_LIBGCC |
8c2c4635 | 143 | select SUPPORT_OF_CONTROL |
51631259 | 144 | |
51631259 MY |
145 | config X86 |
146 | bool "x86 architecture" | |
98987902 SG |
147 | select SUPPORT_SPL |
148 | select SUPPORT_TPL | |
a350c6a6 | 149 | select CREATE_ARCH_SYMLINK |
58d423b8 | 150 | select DM |
6bf89de7 | 151 | select DM_PCI |
3bf9a8e8 | 152 | select HAVE_ARCH_IOMAP |
5ed063d1 MS |
153 | select HAVE_PRIVATE_LIBGCC |
154 | select OF_CONTROL | |
4f0faacb | 155 | select PCI |
5ed063d1 | 156 | select SUPPORT_OF_CONTROL |
0ce9c576 | 157 | select TIMER |
5ed063d1 | 158 | select USE_PRIVATE_LIBGCC |
0ce9c576 | 159 | select X86_TSC_TIMER |
24357dfd | 160 | imply BLK |
08a00cba | 161 | imply CMD_DM |
5ed063d1 MS |
162 | imply CMD_FPGA_LOADMK |
163 | imply CMD_GETTIME | |
164 | imply CMD_IO | |
165 | imply CMD_IRQ | |
166 | imply CMD_PCI | |
a4298dda | 167 | imply CMD_SF |
5ed063d1 MS |
168 | imply CMD_SF_TEST |
169 | imply CMD_ZBOOT | |
4f0faacb BM |
170 | imply DM_ETH |
171 | imply DM_GPIO | |
172 | imply DM_KEYBOARD | |
b7c6baef | 173 | imply DM_MMC |
4f0faacb | 174 | imply DM_RTC |
24357dfd | 175 | imply DM_SCSI |
5ed063d1 | 176 | imply DM_SERIAL |
4f0faacb BM |
177 | imply DM_SPI |
178 | imply DM_SPI_FLASH | |
179 | imply DM_USB | |
180 | imply DM_VIDEO | |
b37b7b20 | 181 | imply SYSRESET |
09259fce | 182 | imply SPL_SYSRESET |
b37b7b20 | 183 | imply SYSRESET_X86 |
f58ad98a CP |
184 | imply USB_ETHER_ASIX |
185 | imply USB_ETHER_SMSC95XX | |
5ed063d1 | 186 | imply USB_HOST_ETHER |
c882163b | 187 | imply PCH |
31d5261d | 188 | imply RTC_MC146818 |
79d66a6a | 189 | imply IRQ |
51631259 | 190 | |
98987902 SG |
191 | # Thing to enable for when SPL/TPL are enabled: SPL |
192 | imply SPL_DM | |
193 | imply SPL_OF_LIBFDT | |
194 | imply SPL_DRIVERS_MISC_SUPPORT | |
195 | imply SPL_GPIO_SUPPORT | |
e556d3d6 | 196 | imply SPL_PINCTRL |
98987902 SG |
197 | imply SPL_LIBCOMMON_SUPPORT |
198 | imply SPL_LIBGENERIC_SUPPORT | |
199 | imply SPL_SERIAL_SUPPORT | |
200 | imply SPL_SPI_FLASH_SUPPORT | |
201 | imply SPL_SPI_SUPPORT | |
202 | imply SPL_OF_CONTROL | |
203 | imply SPL_TIMER | |
204 | imply SPL_REGMAP | |
205 | imply SPL_SYSCON | |
206 | # TPL | |
207 | imply TPL_DM | |
98987902 SG |
208 | imply TPL_DRIVERS_MISC_SUPPORT |
209 | imply TPL_GPIO_SUPPORT | |
e556d3d6 | 210 | imply TPL_PINCTRL |
98987902 SG |
211 | imply TPL_LIBCOMMON_SUPPORT |
212 | imply TPL_LIBGENERIC_SUPPORT | |
213 | imply TPL_SERIAL_SUPPORT | |
98987902 SG |
214 | imply TPL_OF_CONTROL |
215 | imply TPL_TIMER | |
216 | imply TPL_REGMAP | |
217 | imply TPL_SYSCON | |
218 | ||
c978b524 CZ |
219 | config XTENSA |
220 | bool "Xtensa architecture" | |
221 | select CREATE_ARCH_SYMLINK | |
222 | select SUPPORT_OF_CONTROL | |
223 | ||
51631259 MY |
224 | endchoice |
225 | ||
3174e4e8 MY |
226 | config SYS_ARCH |
227 | string | |
228 | help | |
229 | This option should contain the architecture name to build the | |
230 | appropriate arch/<CONFIG_SYS_ARCH> directory. | |
231 | All the architectures should specify this option correctly. | |
232 | ||
233 | config SYS_CPU | |
234 | string | |
235 | help | |
236 | This option should contain the CPU name to build the correct | |
237 | arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory. | |
238 | ||
239 | This is optional. For those targets without the CPU directory, | |
240 | leave this option empty. | |
241 | ||
242 | config SYS_SOC | |
243 | string | |
244 | help | |
245 | This option should contain the SoC name to build the directory | |
246 | arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>. | |
247 | ||
248 | This is optional. For those targets without the SoC directory, | |
249 | leave this option empty. | |
250 | ||
251 | config SYS_VENDOR | |
252 | string | |
253 | help | |
254 | This option should contain the vendor name of the target board. | |
255 | If it is set and | |
256 | board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common | |
257 | directory is compiled. | |
258 | If CONFIG_SYS_BOARD is also set, the sources under | |
259 | board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled. | |
260 | ||
261 | This is optional. For those targets without the vendor directory, | |
262 | leave this option empty. | |
263 | ||
264 | config SYS_BOARD | |
265 | string | |
266 | help | |
267 | This option should contain the name of the target board. | |
268 | If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> | |
269 | or board/<CONFIG_SYS_BOARD> directory is compiled depending on | |
270 | whether CONFIG_SYS_VENDOR is set or not. | |
271 | ||
272 | This is optional. For those targets without the board directory, | |
273 | leave this option empty. | |
274 | ||
275 | config SYS_CONFIG_NAME | |
276 | string | |
277 | help | |
278 | This option should contain the base name of board header file. | |
279 | The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h | |
280 | should be included from include/config.h. | |
281 | ||
add49671 VR |
282 | config SYS_DISABLE_DCACHE_OPS |
283 | bool | |
284 | help | |
285 | This option disables dcache flush and dcache invalidation | |
286 | operations. For example, on coherent systems where cache | |
287 | operatios are not required, enable this option to avoid them. | |
288 | Note that, its up to the individual architectures to implement | |
289 | this functionality. | |
290 | ||
51631259 MY |
291 | source "arch/arc/Kconfig" |
292 | source "arch/arm/Kconfig" | |
51631259 MY |
293 | source "arch/m68k/Kconfig" |
294 | source "arch/microblaze/Kconfig" | |
295 | source "arch/mips/Kconfig" | |
296 | source "arch/nds32/Kconfig" | |
297 | source "arch/nios2/Kconfig" | |
51631259 MY |
298 | source "arch/powerpc/Kconfig" |
299 | source "arch/sandbox/Kconfig" | |
300 | source "arch/sh/Kconfig" | |
51631259 | 301 | source "arch/x86/Kconfig" |
c978b524 | 302 | source "arch/xtensa/Kconfig" |
068feb9b | 303 | source "arch/riscv/Kconfig" |