xref: /rk3399_rockchip-uboot/arch/Kconfig (revision fcdd83d4455871c49a93236c3f1cb964727f8c0c)
1config CREATE_ARCH_SYMLINK
2	bool
3
4config HAVE_ARCH_IOREMAP
5	bool
6
7choice
8	prompt "Architecture select"
9	default SANDBOX
10
11config ARC
12	bool "ARC architecture"
13	select HAVE_PRIVATE_LIBGCC
14	select SUPPORT_OF_CONTROL
15	select ARCH_EARLY_INIT_R
16	select CLK
17	select TIMER
18	select ARC_TIMER
19
20config ARM
21	bool "ARM architecture"
22	select CREATE_ARCH_SYMLINK
23	select HAVE_PRIVATE_LIBGCC if !ARM64
24	select SUPPORT_OF_CONTROL
25
26config M68K
27	bool "M68000 architecture"
28	select HAVE_PRIVATE_LIBGCC
29
30config MICROBLAZE
31	bool "MicroBlaze architecture"
32	select SUPPORT_OF_CONTROL
33	imply CMD_IRQ
34
35config MIPS
36	bool "MIPS architecture"
37	select HAVE_ARCH_IOREMAP
38	select HAVE_PRIVATE_LIBGCC
39	select SUPPORT_OF_CONTROL
40
41config NDS32
42	bool "NDS32 architecture"
43	select SUPPORT_OF_CONTROL
44
45config NIOS2
46	bool "Nios II architecture"
47	select SUPPORT_OF_CONTROL
48	select OF_CONTROL
49	select DM
50	select CPU
51
52config PPC
53	bool "PowerPC architecture"
54	select HAVE_PRIVATE_LIBGCC
55	select SUPPORT_OF_CONTROL
56
57config SANDBOX
58	bool "Sandbox"
59	select BOARD_LATE_INIT
60	select SUPPORT_OF_CONTROL
61	select DM
62	select DM_KEYBOARD
63	select DM_SPI_FLASH
64	select DM_SERIAL
65	select DM_I2C
66	select DM_SPI
67	select DM_GPIO
68	select DM_MMC
69	select HAVE_BLOCK_DEVICE
70	select SPI
71	select LZO
72	imply CMD_GETTIME
73	imply CMD_HASH
74	imply CMD_IO
75	imply CMD_IOTRACE
76	imply CMD_LZMADEC
77	imply CRC32_VERIFY
78	imply FAT_WRITE
79	imply HASH_VERIFY
80	imply LZMA
81	imply SCSI
82	imply CMD_SATA
83	imply CMD_SF_TEST
84
85config SH
86	bool "SuperH architecture"
87	select HAVE_PRIVATE_LIBGCC
88
89config X86
90	bool "x86 architecture"
91	select CREATE_ARCH_SYMLINK
92	select HAVE_PRIVATE_LIBGCC
93	select USE_PRIVATE_LIBGCC
94	select SUPPORT_OF_CONTROL
95	select OF_CONTROL
96	select DM
97	select DM_PCI
98	select PCI
99	select TIMER
100	select X86_TSC_TIMER
101	imply BLK
102	imply DM_ETH
103	imply DM_GPIO
104	imply DM_KEYBOARD
105	imply DM_MMC
106	imply DM_RTC
107	imply DM_SERIAL
108	imply DM_SCSI
109	imply DM_SPI
110	imply DM_SPI_FLASH
111	imply DM_USB
112	imply DM_VIDEO
113	imply CMD_FPGA_LOADMK
114	imply CMD_GETTIME
115	imply CMD_IO
116	imply CMD_IRQ
117	imply CMD_PCI
118	imply CMD_SF_TEST
119	imply CMD_ZBOOT
120	imply USB_HOST_ETHER
121	imply USB_ETHER_ASIX
122	imply USB_ETHER_SMSC95XX
123
124config XTENSA
125	bool "Xtensa architecture"
126	select CREATE_ARCH_SYMLINK
127	select SUPPORT_OF_CONTROL
128
129endchoice
130
131config SYS_ARCH
132	string
133	help
134	  This option should contain the architecture name to build the
135	  appropriate arch/<CONFIG_SYS_ARCH> directory.
136	  All the architectures should specify this option correctly.
137
138config SYS_CPU
139	string
140	help
141	  This option should contain the CPU name to build the correct
142	  arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
143
144	  This is optional.  For those targets without the CPU directory,
145	  leave this option empty.
146
147config SYS_SOC
148	string
149	help
150	  This option should contain the SoC name to build the directory
151	  arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
152
153	  This is optional.  For those targets without the SoC directory,
154	  leave this option empty.
155
156config SYS_VENDOR
157	string
158	help
159	  This option should contain the vendor name of the target board.
160	  If it is set and
161	  board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
162	  directory is compiled.
163	  If CONFIG_SYS_BOARD is also set, the sources under
164	  board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
165
166	  This is optional.  For those targets without the vendor directory,
167	  leave this option empty.
168
169config SYS_BOARD
170	string
171	help
172	  This option should contain the name of the target board.
173	  If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
174	  or board/<CONFIG_SYS_BOARD> directory is compiled depending on
175	  whether CONFIG_SYS_VENDOR is set or not.
176
177	  This is optional.  For those targets without the board directory,
178	  leave this option empty.
179
180config SYS_CONFIG_NAME
181	string
182	help
183	  This option should contain the base name of board header file.
184	  The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
185	  should be included from include/config.h.
186
187source "arch/arc/Kconfig"
188source "arch/arm/Kconfig"
189source "arch/m68k/Kconfig"
190source "arch/microblaze/Kconfig"
191source "arch/mips/Kconfig"
192source "arch/nds32/Kconfig"
193source "arch/nios2/Kconfig"
194source "arch/powerpc/Kconfig"
195source "arch/sandbox/Kconfig"
196source "arch/sh/Kconfig"
197source "arch/x86/Kconfig"
198source "arch/xtensa/Kconfig"
199