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