xref: /openbmc/u-boot/arch/Kconfig (revision a65b25d1)
1config HAVE_GENERIC_BOARD
2	bool
3
4config SYS_GENERIC_BOARD
5	bool
6	depends on HAVE_GENERIC_BOARD
7
8choice
9	prompt "Architecture select"
10	default SANDBOX
11
12config ARC
13	bool "ARC architecture"
14	select HAVE_PRIVATE_LIBGCC
15	select HAVE_GENERIC_BOARD
16	select SYS_GENERIC_BOARD
17	select SUPPORT_OF_CONTROL
18
19config ARM
20	bool "ARM architecture"
21	select HAVE_PRIVATE_LIBGCC
22	select HAVE_GENERIC_BOARD
23	select SUPPORT_OF_CONTROL
24
25config AVR32
26	bool "AVR32 architecture"
27	select HAVE_GENERIC_BOARD
28
29config BLACKFIN
30	bool "Blackfin architecture"
31	select HAVE_GENERIC_BOARD
32	select SYS_GENERIC_BOARD
33
34config M68K
35	bool "M68000 architecture"
36	select HAVE_GENERIC_BOARD
37	select SYS_GENERIC_BOARD
38
39config MICROBLAZE
40	bool "MicroBlaze architecture"
41	select HAVE_GENERIC_BOARD
42	select SYS_GENERIC_BOARD
43	select SUPPORT_OF_CONTROL
44
45config MIPS
46	bool "MIPS architecture"
47	select HAVE_PRIVATE_LIBGCC
48	select HAVE_GENERIC_BOARD
49	select SYS_GENERIC_BOARD
50
51config NDS32
52	bool "NDS32 architecture"
53
54config NIOS2
55	bool "Nios II architecture"
56	select HAVE_GENERIC_BOARD
57	select SYS_GENERIC_BOARD
58
59config OPENRISC
60	bool "OpenRISC architecture"
61
62config PPC
63	bool "PowerPC architecture"
64	select HAVE_PRIVATE_LIBGCC
65	select HAVE_GENERIC_BOARD
66	select SUPPORT_OF_CONTROL
67
68config SANDBOX
69	bool "Sandbox"
70	select HAVE_GENERIC_BOARD
71	select SYS_GENERIC_BOARD
72	select SUPPORT_OF_CONTROL
73	select DM
74	select DM_SPI_FLASH
75	select DM_SERIAL
76	select DM_I2C
77	select DM_SPI
78	select DM_GPIO
79
80config SH
81	bool "SuperH architecture"
82	select HAVE_PRIVATE_LIBGCC
83
84config SPARC
85	bool "SPARC architecture"
86
87config X86
88	bool "x86 architecture"
89	select HAVE_PRIVATE_LIBGCC
90	select HAVE_GENERIC_BOARD
91	select SYS_GENERIC_BOARD
92	select SUPPORT_OF_CONTROL
93	select DM
94	select DM_SERIAL
95	select DM_GPIO
96	select DM_SPI
97	select DM_SPI_FLASH
98
99endchoice
100
101config SYS_ARCH
102	string
103	help
104	  This option should contain the architecture name to build the
105	  appropriate arch/<CONFIG_SYS_ARCH> directory.
106	  All the architectures should specify this option correctly.
107
108config SYS_CPU
109	string
110	help
111	  This option should contain the CPU name to build the correct
112	  arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
113
114	  This is optional.  For those targets without the CPU directory,
115	  leave this option empty.
116
117config SYS_SOC
118	string
119	help
120	  This option should contain the SoC name to build the directory
121	  arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
122
123	  This is optional.  For those targets without the SoC directory,
124	  leave this option empty.
125
126config SYS_VENDOR
127	string
128	help
129	  This option should contain the vendor name of the target board.
130	  If it is set and
131	  board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
132	  directory is compiled.
133	  If CONFIG_SYS_BOARD is also set, the sources under
134	  board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
135
136	  This is optional.  For those targets without the vendor directory,
137	  leave this option empty.
138
139config SYS_BOARD
140	string
141	help
142	  This option should contain the name of the target board.
143	  If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
144	  or board/<CONFIG_SYS_BOARD> directory is compiled depending on
145	  whether CONFIG_SYS_VENDOR is set or not.
146
147	  This is optional.  For those targets without the board directory,
148	  leave this option empty.
149
150config SYS_CONFIG_NAME
151	string
152	help
153	  This option should contain the base name of board header file.
154	  The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
155	  should be included from include/config.h.
156
157source "arch/arc/Kconfig"
158source "arch/arm/Kconfig"
159source "arch/avr32/Kconfig"
160source "arch/blackfin/Kconfig"
161source "arch/m68k/Kconfig"
162source "arch/microblaze/Kconfig"
163source "arch/mips/Kconfig"
164source "arch/nds32/Kconfig"
165source "arch/nios2/Kconfig"
166source "arch/openrisc/Kconfig"
167source "arch/powerpc/Kconfig"
168source "arch/sandbox/Kconfig"
169source "arch/sh/Kconfig"
170source "arch/sparc/Kconfig"
171source "arch/x86/Kconfig"
172