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