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