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