Blame view

arch/Kconfig 6.37 KB
a350c6a60   Masahiro Yamada   kbuild: create sy...
1
2
  config CREATE_ARCH_SYMLINK
  	bool
9a387128e   Masahiro Yamada   linux/io.h: add g...
3
4
  config HAVE_ARCH_IOREMAP
  	bool
516312598   Masahiro Yamada   kconfig: add basi...
5
6
7
8
9
10
  choice
  	prompt "Architecture select"
  	default SANDBOX
  
  config ARC
  	bool "ARC architecture"
a421192fb   Simon Glass   Convert CONFIG_AR...
11
  	select ARCH_EARLY_INIT_R
5ed063d10   Michal Simek   Kconfig: Sort boo...
12
  	select ARC_TIMER
3daa7c7b8   Vlad Zakharov   arc: use timer dr...
13
  	select CLK
5ed063d10   Michal Simek   Kconfig: Sort boo...
14
15
  	select HAVE_PRIVATE_LIBGCC
  	select SUPPORT_OF_CONTROL
3daa7c7b8   Vlad Zakharov   arc: use timer dr...
16
  	select TIMER
516312598   Masahiro Yamada   kconfig: add basi...
17
18
19
  
  config ARM
  	bool "ARM architecture"
a350c6a60   Masahiro Yamada   kbuild: create sy...
20
  	select CREATE_ARCH_SYMLINK
64b77ed23   Masahiro Yamada   ARM: disable HAVE...
21
  	select HAVE_PRIVATE_LIBGCC if !ARM64
783e6a72b   Masahiro Yamada   kconfig: move CON...
22
  	select SUPPORT_OF_CONTROL
516312598   Masahiro Yamada   kconfig: add basi...
23

516312598   Masahiro Yamada   kconfig: add basi...
24
25
  config M68K
  	bool "M68000 architecture"
6463fd8f9   angelo@sysam.it   m68k: add private...
26
  	select HAVE_PRIVATE_LIBGCC
405fc8305   Derald D. Woods   Convert CONFIG_SY...
27
28
  	select SYS_BOOT_GET_CMDLINE
  	select SYS_BOOT_GET_KBD
abe0f8799   Angelo Dureghello   m68k: add OF cont...
29
  	select SUPPORT_OF_CONTROL
516312598   Masahiro Yamada   kconfig: add basi...
30
31
32
  
  config MICROBLAZE
  	bool "MicroBlaze architecture"
783e6a72b   Masahiro Yamada   kconfig: move CON...
33
  	select SUPPORT_OF_CONTROL
1b330894b   Simon Glass   Convert CONFIG_CM...
34
  	imply CMD_IRQ
516312598   Masahiro Yamada   kconfig: add basi...
35
36
37
  
  config MIPS
  	bool "MIPS architecture"
9a387128e   Masahiro Yamada   linux/io.h: add g...
38
  	select HAVE_ARCH_IOREMAP
45ccec8f2   Masahiro Yamada   kconfig: move CON...
39
  	select HAVE_PRIVATE_LIBGCC
0fc13a909   Daniel Schwierzeck   MIPS: add initial...
40
  	select SUPPORT_OF_CONTROL
516312598   Masahiro Yamada   kconfig: add basi...
41
42
43
  
  config NDS32
  	bool "NDS32 architecture"
86132af79   rick   nds32: Support AG...
44
  	select SUPPORT_OF_CONTROL
516312598   Masahiro Yamada   kconfig: add basi...
45
46
47
  
  config NIOS2
  	bool "Nios II architecture"
bcae80e95   Thomas Chou   nios2: convert ni...
48
  	select CPU
5ed063d10   Michal Simek   Kconfig: Sort boo...
49
50
51
  	select DM
  	select OF_CONTROL
  	select SUPPORT_OF_CONTROL
08a00cba0   Michal Simek   dm: Change CMD_DM...
52
  	imply CMD_DM
516312598   Masahiro Yamada   kconfig: add basi...
53

516312598   Masahiro Yamada   kconfig: add basi...
54
55
  config PPC
  	bool "PowerPC architecture"
45ccec8f2   Masahiro Yamada   kconfig: move CON...
56
  	select HAVE_PRIVATE_LIBGCC
c1c615735   Simon Glass   powerpc: Permit d...
57
  	select SUPPORT_OF_CONTROL
405fc8305   Derald D. Woods   Convert CONFIG_SY...
58
59
  	select SYS_BOOT_GET_CMDLINE
  	select SYS_BOOT_GET_KBD
516312598   Masahiro Yamada   kconfig: add basi...
60

068feb9b8   Rick Chen   riscv: Modify gen...
61
  config RISCV
117a433d9   Bin Meng   riscv: kconfig: N...
62
  	bool "RISC-V architecture"
7c8d210b9   Anup Patel   riscv: Enable cre...
63
  	select CREATE_ARCH_SYMLINK
068feb9b8   Rick Chen   riscv: Modify gen...
64
  	select SUPPORT_OF_CONTROL
bf6cc82c7   Bin Meng   riscv: kconfig: S...
65
66
  	select OF_CONTROL
  	select DM
cd1f45c21   Bin Meng   riscv: kconfig: I...
67
68
69
70
71
72
73
74
75
  	imply DM_SERIAL
  	imply DM_ETH
  	imply DM_MMC
  	imply DM_SPI
  	imply DM_SPI_FLASH
  	imply BLK
  	imply CLK
  	imply MTD
  	imply TIMER
bf6cc82c7   Bin Meng   riscv: kconfig: S...
76
  	imply CMD_DM
8c59f2023   Lukas Auer   riscv: add SPL su...
77
78
79
80
81
82
  	imply SPL_DM
  	imply SPL_OF_CONTROL
  	imply SPL_LIBCOMMON_SUPPORT
  	imply SPL_LIBGENERIC_SUPPORT
  	imply SPL_SERIAL_SUPPORT
  	imply SPL_TIMER
068feb9b8   Rick Chen   riscv: Modify gen...
83

516312598   Masahiro Yamada   kconfig: add basi...
84
85
  config SANDBOX
  	bool "Sandbox"
e5ec48152   Tom Rini   Kconfig: Migrate ...
86
  	select BOARD_LATE_INIT
58d423b88   Masahiro Yamada   dm: select CONFIG...
87
  	select DM
5ed063d10   Michal Simek   Kconfig: Sort boo...
88
89
  	select DM_GPIO
  	select DM_I2C
558e12571   Masahiro Yamada   sandbox, x86: sel...
90
  	select DM_KEYBOARD
5ed063d10   Michal Simek   Kconfig: Sort boo...
91
  	select DM_MMC
58d423b88   Masahiro Yamada   dm: select CONFIG...
92
  	select DM_SERIAL
58d423b88   Masahiro Yamada   dm: select CONFIG...
93
  	select DM_SPI
5ed063d10   Michal Simek   Kconfig: Sort boo...
94
  	select DM_SPI_FLASH
1811a928c   Adam Ford   Move most CONFIG_...
95
  	select HAVE_BLOCK_DEVICE
d56b4b197   Tom Rini   configs: Migrate ...
96
  	select LZO
bb4133378   Ramon Fried   pci_ep: add pci e...
97
  	select PCI_ENDPOINT
5ed063d10   Michal Simek   Kconfig: Sort boo...
98
99
  	select SPI
  	select SUPPORT_OF_CONTROL
b8050511c   Urja Rannikko   sysreset: move st...
100
  	select SYSRESET_CMD_POWEROFF if CMD_POWEROFF
0f1caa988   Bin Meng   sandbox: Enable b...
101
  	imply BITREVERSE
919e7a8fb   Simon Glass   test: Add a simpl...
102
  	select BLOBLIST
08a00cba0   Michal Simek   dm: Change CMD_DM...
103
  	imply CMD_DM
ded48cdc8   Simon Glass   sandbox: Enable C...
104
  	imply CMD_GETTIME
551c39344   Simon Glass   Convert CONFIG_CM...
105
  	imply CMD_HASH
594e8d1c6   Simon Glass   Convert CONFIG_CM...
106
  	imply CMD_IO
7d0f5c130   Simon Glass   Convert CONFIG_CM...
107
  	imply CMD_IOTRACE
ee7c0e712   Simon Glass   Convert CONFIG_CM...
108
  	imply CMD_LZMADEC
5ed063d10   Michal Simek   Kconfig: Sort boo...
109
  	imply CMD_SATA
a4298ddaf   Tom Rini   Kconfig: Add SPI ...
110
  	imply CMD_SF
5ed063d10   Michal Simek   Kconfig: Sort boo...
111
  	imply CMD_SF_TEST
91d27a17c   Tom Rini   Kconfig: Migrate ...
112
113
  	imply CRC32_VERIFY
  	imply FAT_WRITE
31b8217e8   Rajan Vaja   dm: test: Add "/f...
114
  	imply FIRMWARE
221a949eb   Daniel Thompson   Kconfig: Finish m...
115
  	imply HASH_VERIFY
91d27a17c   Tom Rini   Kconfig: Migrate ...
116
  	imply LZMA
fedb428c5   Simon Glass   Convert CONFIG_SC...
117
  	imply SCSI
fe39e8e0e   Jens Wiklander   sandbox: imply CO...
118
  	imply TEE
0a60a81ba   Jens Wiklander   Kconfig: sandbox:...
119
120
121
122
  	imply AVB_VERIFY
  	imply LIBAVB
  	imply CMD_AVB
  	imply UDP_FUNCTION_FASTBOOT
4f89d4947   Bin Meng   test: dm: virtio:...
123
124
125
126
127
  	imply VIRTIO_MMIO
  	imply VIRTIO_PCI
  	imply VIRTIO_SANDBOX
  	imply VIRTIO_BLK
  	imply VIRTIO_NET
2a0495724   Simon Glass   dm: sound: Create...
128
  	imply DM_SOUND
bb4133378   Ramon Fried   pci_ep: add pci e...
129
  	imply PCI_SANDBOX_EP
c882163b0   Simon Glass   x86: sandbox: pch...
130
  	imply PCH
ec9594a50   Alex Marginean   test: dm: add MDI...
131
132
  	imply PHYLIB
  	imply DM_MDIO
c3d9f3f89   Alex Marginean   test: dm: add a t...
133
  	imply DM_MDIO_MUX
3b65ee34b   Simon Glass   x86: sandbox: Add...
134
135
136
  	imply ACPI_PMC
  	imply ACPI_PMC_SANDBOX
  	imply CMD_PMC
516312598   Masahiro Yamada   kconfig: add basi...
137
138
139
  
  config SH
  	bool "SuperH architecture"
45ccec8f2   Masahiro Yamada   kconfig: move CON...
140
  	select HAVE_PRIVATE_LIBGCC
8c2c46350   Marek Vasut   sh: r2dplus: Enab...
141
  	select SUPPORT_OF_CONTROL
516312598   Masahiro Yamada   kconfig: add basi...
142

516312598   Masahiro Yamada   kconfig: add basi...
143
144
  config X86
  	bool "x86 architecture"
989879024   Simon Glass   x86: Support SPL ...
145
146
  	select SUPPORT_SPL
  	select SUPPORT_TPL
a350c6a60   Masahiro Yamada   kbuild: create sy...
147
  	select CREATE_ARCH_SYMLINK
58d423b88   Masahiro Yamada   dm: select CONFIG...
148
  	select DM
6bf89de7e   Bin Meng   x86: kconfig: Sel...
149
  	select DM_PCI
3bf9a8e84   Bin Meng   x86: Implement ar...
150
  	select HAVE_ARCH_IOMAP
5ed063d10   Michal Simek   Kconfig: Sort boo...
151
152
  	select HAVE_PRIVATE_LIBGCC
  	select OF_CONTROL
4f0faacb4   Bin Meng   x86: kconfig: Imp...
153
  	select PCI
5ed063d10   Michal Simek   Kconfig: Sort boo...
154
  	select SUPPORT_OF_CONTROL
0ce9c5762   Bin Meng   x86: kconfig: Sel...
155
  	select TIMER
5ed063d10   Michal Simek   Kconfig: Sort boo...
156
  	select USE_PRIVATE_LIBGCC
0ce9c5762   Bin Meng   x86: kconfig: Sel...
157
  	select X86_TSC_TIMER
24357dfd2   Bin Meng   x86: Switch all b...
158
  	imply BLK
08a00cba0   Michal Simek   dm: Change CMD_DM...
159
  	imply CMD_DM
5ed063d10   Michal Simek   Kconfig: Sort boo...
160
161
162
163
164
  	imply CMD_FPGA_LOADMK
  	imply CMD_GETTIME
  	imply CMD_IO
  	imply CMD_IRQ
  	imply CMD_PCI
a4298ddaf   Tom Rini   Kconfig: Add SPI ...
165
  	imply CMD_SF
5ed063d10   Michal Simek   Kconfig: Sort boo...
166
167
  	imply CMD_SF_TEST
  	imply CMD_ZBOOT
4f0faacb4   Bin Meng   x86: kconfig: Imp...
168
169
170
  	imply DM_ETH
  	imply DM_GPIO
  	imply DM_KEYBOARD
b7c6baef2   Simon Glass   x86: Convert MMC ...
171
  	imply DM_MMC
4f0faacb4   Bin Meng   x86: kconfig: Imp...
172
  	imply DM_RTC
24357dfd2   Bin Meng   x86: Switch all b...
173
  	imply DM_SCSI
5ed063d10   Michal Simek   Kconfig: Sort boo...
174
  	imply DM_SERIAL
4f0faacb4   Bin Meng   x86: kconfig: Imp...
175
176
177
178
  	imply DM_SPI
  	imply DM_SPI_FLASH
  	imply DM_USB
  	imply DM_VIDEO
b37b7b206   Bin Meng   x86: Switch to us...
179
  	imply SYSRESET
09259fce1   Kever Yang   sysreset: enable ...
180
  	imply SPL_SYSRESET
b37b7b206   Bin Meng   x86: Switch to us...
181
  	imply SYSRESET_X86
f58ad98a6   Chris Packham   usb: net: migrate...
182
183
  	imply USB_ETHER_ASIX
  	imply USB_ETHER_SMSC95XX
5ed063d10   Michal Simek   Kconfig: Sort boo...
184
  	imply USB_HOST_ETHER
c882163b0   Simon Glass   x86: sandbox: pch...
185
  	imply PCH
31d5261d3   Simon Glass   x86: Enable the R...
186
  	imply RTC_MC146818
79d66a6ac   Simon Glass   x86: Move UCLASS_...
187
  	imply IRQ
516312598   Masahiro Yamada   kconfig: add basi...
188

989879024   Simon Glass   x86: Support SPL ...
189
190
191
192
193
  	# Thing to enable for when SPL/TPL are enabled: SPL
  	imply SPL_DM
  	imply SPL_OF_LIBFDT
  	imply SPL_DRIVERS_MISC_SUPPORT
  	imply SPL_GPIO_SUPPORT
e556d3d63   Simon Glass   x86: Enable pinct...
194
  	imply SPL_PINCTRL
989879024   Simon Glass   x86: Support SPL ...
195
196
197
198
199
200
201
202
203
204
205
  	imply SPL_LIBCOMMON_SUPPORT
  	imply SPL_LIBGENERIC_SUPPORT
  	imply SPL_SERIAL_SUPPORT
  	imply SPL_SPI_FLASH_SUPPORT
  	imply SPL_SPI_SUPPORT
  	imply SPL_OF_CONTROL
  	imply SPL_TIMER
  	imply SPL_REGMAP
  	imply SPL_SYSCON
  	# TPL
  	imply TPL_DM
989879024   Simon Glass   x86: Support SPL ...
206
207
  	imply TPL_DRIVERS_MISC_SUPPORT
  	imply TPL_GPIO_SUPPORT
e556d3d63   Simon Glass   x86: Enable pinct...
208
  	imply TPL_PINCTRL
989879024   Simon Glass   x86: Support SPL ...
209
210
211
  	imply TPL_LIBCOMMON_SUPPORT
  	imply TPL_LIBGENERIC_SUPPORT
  	imply TPL_SERIAL_SUPPORT
989879024   Simon Glass   x86: Support SPL ...
212
213
214
215
  	imply TPL_OF_CONTROL
  	imply TPL_TIMER
  	imply TPL_REGMAP
  	imply TPL_SYSCON
c978b5241   Chris Zankel   xtensa: add suppo...
216
217
218
219
  config XTENSA
  	bool "Xtensa architecture"
  	select CREATE_ARCH_SYMLINK
  	select SUPPORT_OF_CONTROL
516312598   Masahiro Yamada   kconfig: add basi...
220
  endchoice
3174e4e81   Masahiro Yamada   kconfig: add CONF...
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
  config SYS_ARCH
  	string
  	help
  	  This option should contain the architecture name to build the
  	  appropriate arch/<CONFIG_SYS_ARCH> directory.
  	  All the architectures should specify this option correctly.
  
  config SYS_CPU
  	string
  	help
  	  This option should contain the CPU name to build the correct
  	  arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
  
  	  This is optional.  For those targets without the CPU directory,
  	  leave this option empty.
  
  config SYS_SOC
  	string
  	help
  	  This option should contain the SoC name to build the directory
  	  arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
  
  	  This is optional.  For those targets without the SoC directory,
  	  leave this option empty.
  
  config SYS_VENDOR
  	string
  	help
  	  This option should contain the vendor name of the target board.
  	  If it is set and
  	  board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
  	  directory is compiled.
  	  If CONFIG_SYS_BOARD is also set, the sources under
  	  board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
  
  	  This is optional.  For those targets without the vendor directory,
  	  leave this option empty.
  
  config SYS_BOARD
  	string
  	help
  	  This option should contain the name of the target board.
  	  If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
  	  or board/<CONFIG_SYS_BOARD> directory is compiled depending on
  	  whether CONFIG_SYS_VENDOR is set or not.
  
  	  This is optional.  For those targets without the board directory,
  	  leave this option empty.
  
  config SYS_CONFIG_NAME
  	string
  	help
  	  This option should contain the base name of board header file.
  	  The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
  	  should be included from include/config.h.
add496712   Vignesh Raghavendra   arch: armv8: Prov...
276
277
278
279
280
281
282
283
  config SYS_DISABLE_DCACHE_OPS
  	bool
  	help
  	 This option disables dcache flush and dcache invalidation
  	 operations. For example, on coherent systems where cache
  	 operatios are not required, enable this option to avoid them.
  	 Note that, its up to the individual architectures to implement
  	 this functionality.
516312598   Masahiro Yamada   kconfig: add basi...
284
285
  source "arch/arc/Kconfig"
  source "arch/arm/Kconfig"
516312598   Masahiro Yamada   kconfig: add basi...
286
287
288
289
290
  source "arch/m68k/Kconfig"
  source "arch/microblaze/Kconfig"
  source "arch/mips/Kconfig"
  source "arch/nds32/Kconfig"
  source "arch/nios2/Kconfig"
516312598   Masahiro Yamada   kconfig: add basi...
291
292
293
  source "arch/powerpc/Kconfig"
  source "arch/sandbox/Kconfig"
  source "arch/sh/Kconfig"
516312598   Masahiro Yamada   kconfig: add basi...
294
  source "arch/x86/Kconfig"
c978b5241   Chris Zankel   xtensa: add suppo...
295
  source "arch/xtensa/Kconfig"
068feb9b8   Rick Chen   riscv: Modify gen...
296
  source "arch/riscv/Kconfig"