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