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