]> Git Repo - u-boot.git/blame - arch/Kconfig
Merge git://git.denx.de/u-boot-socfpga
[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
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
86config 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
51631259
MY
136
137config SH
138 bool "SuperH architecture"
45ccec8f 139 select HAVE_PRIVATE_LIBGCC
8c2c4635 140 select SUPPORT_OF_CONTROL
51631259 141
51631259
MY
142config X86
143 bool "x86 architecture"
98987902
SG
144 select SUPPORT_SPL
145 select SUPPORT_TPL
a350c6a6 146 select CREATE_ARCH_SYMLINK
58d423b8 147 select DM
6bf89de7 148 select DM_PCI
3bf9a8e8 149 select HAVE_ARCH_IOMAP
5ed063d1
MS
150 select HAVE_PRIVATE_LIBGCC
151 select OF_CONTROL
4f0faacb 152 select PCI
5ed063d1 153 select SUPPORT_OF_CONTROL
0ce9c576 154 select TIMER
5ed063d1 155 select USE_PRIVATE_LIBGCC
0ce9c576 156 select X86_TSC_TIMER
24357dfd 157 imply BLK
08a00cba 158 imply CMD_DM
5ed063d1
MS
159 imply CMD_FPGA_LOADMK
160 imply CMD_GETTIME
161 imply CMD_IO
162 imply CMD_IRQ
163 imply CMD_PCI
a4298dda 164 imply CMD_SF
5ed063d1
MS
165 imply CMD_SF_TEST
166 imply CMD_ZBOOT
4f0faacb
BM
167 imply DM_ETH
168 imply DM_GPIO
169 imply DM_KEYBOARD
b7c6baef 170 imply DM_MMC
4f0faacb 171 imply DM_RTC
24357dfd 172 imply DM_SCSI
5ed063d1 173 imply DM_SERIAL
4f0faacb
BM
174 imply DM_SPI
175 imply DM_SPI_FLASH
176 imply DM_USB
177 imply DM_VIDEO
b37b7b20 178 imply SYSRESET
09259fce 179 imply SPL_SYSRESET
b37b7b20 180 imply SYSRESET_X86
f58ad98a
CP
181 imply USB_ETHER_ASIX
182 imply USB_ETHER_SMSC95XX
5ed063d1 183 imply USB_HOST_ETHER
c882163b 184 imply PCH
31d5261d 185 imply RTC_MC146818
51631259 186
98987902
SG
187 # Thing to enable for when SPL/TPL are enabled: SPL
188 imply SPL_DM
189 imply SPL_OF_LIBFDT
190 imply SPL_DRIVERS_MISC_SUPPORT
191 imply SPL_GPIO_SUPPORT
192 imply SPL_LIBCOMMON_SUPPORT
193 imply SPL_LIBGENERIC_SUPPORT
194 imply SPL_SERIAL_SUPPORT
195 imply SPL_SPI_FLASH_SUPPORT
196 imply SPL_SPI_SUPPORT
197 imply SPL_OF_CONTROL
198 imply SPL_TIMER
199 imply SPL_REGMAP
200 imply SPL_SYSCON
201 # TPL
202 imply TPL_DM
203 imply TPL_OF_LIBFDT
204 imply TPL_DRIVERS_MISC_SUPPORT
205 imply TPL_GPIO_SUPPORT
206 imply TPL_LIBCOMMON_SUPPORT
207 imply TPL_LIBGENERIC_SUPPORT
208 imply TPL_SERIAL_SUPPORT
209 imply TPL_SPI_FLASH_SUPPORT
210 imply TPL_SPI_SUPPORT
211 imply TPL_OF_CONTROL
212 imply TPL_TIMER
213 imply TPL_REGMAP
214 imply TPL_SYSCON
215
c978b524
CZ
216config XTENSA
217 bool "Xtensa architecture"
218 select CREATE_ARCH_SYMLINK
219 select SUPPORT_OF_CONTROL
220
51631259
MY
221endchoice
222
3174e4e8
MY
223config SYS_ARCH
224 string
225 help
226 This option should contain the architecture name to build the
227 appropriate arch/<CONFIG_SYS_ARCH> directory.
228 All the architectures should specify this option correctly.
229
230config SYS_CPU
231 string
232 help
233 This option should contain the CPU name to build the correct
234 arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
235
236 This is optional. For those targets without the CPU directory,
237 leave this option empty.
238
239config SYS_SOC
240 string
241 help
242 This option should contain the SoC name to build the directory
243 arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
244
245 This is optional. For those targets without the SoC directory,
246 leave this option empty.
247
248config SYS_VENDOR
249 string
250 help
251 This option should contain the vendor name of the target board.
252 If it is set and
253 board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
254 directory is compiled.
255 If CONFIG_SYS_BOARD is also set, the sources under
256 board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
257
258 This is optional. For those targets without the vendor directory,
259 leave this option empty.
260
261config SYS_BOARD
262 string
263 help
264 This option should contain the name of the target board.
265 If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
266 or board/<CONFIG_SYS_BOARD> directory is compiled depending on
267 whether CONFIG_SYS_VENDOR is set or not.
268
269 This is optional. For those targets without the board directory,
270 leave this option empty.
271
272config SYS_CONFIG_NAME
273 string
274 help
275 This option should contain the base name of board header file.
276 The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
277 should be included from include/config.h.
278
add49671
VR
279config SYS_DISABLE_DCACHE_OPS
280 bool
281 help
282 This option disables dcache flush and dcache invalidation
283 operations. For example, on coherent systems where cache
284 operatios are not required, enable this option to avoid them.
285 Note that, its up to the individual architectures to implement
286 this functionality.
287
51631259
MY
288source "arch/arc/Kconfig"
289source "arch/arm/Kconfig"
51631259
MY
290source "arch/m68k/Kconfig"
291source "arch/microblaze/Kconfig"
292source "arch/mips/Kconfig"
293source "arch/nds32/Kconfig"
294source "arch/nios2/Kconfig"
51631259
MY
295source "arch/powerpc/Kconfig"
296source "arch/sandbox/Kconfig"
297source "arch/sh/Kconfig"
51631259 298source "arch/x86/Kconfig"
c978b524 299source "arch/xtensa/Kconfig"
068feb9b 300source "arch/riscv/Kconfig"
This page took 0.249782 seconds and 4 git commands to generate.