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