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