]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/Kconfig
generic-board: move __HAVE_ARCH_GENERIC_BOARD to Kconfig
[karo-tx-uboot.git] / arch / Kconfig
1 config HAVE_GENERIC_BOARD
2         bool
3
4 choice
5         prompt "Architecture select"
6         default SANDBOX
7
8 config ARC
9         bool "ARC architecture"
10         select HAVE_PRIVATE_LIBGCC
11         select HAVE_GENERIC_BOARD
12
13 config ARM
14         bool "ARM architecture"
15         select HAVE_PRIVATE_LIBGCC
16         select HAVE_GENERIC_BOARD
17         select SUPPORT_OF_CONTROL
18
19 config AVR32
20         bool "AVR32 architecture"
21         select HAVE_GENERIC_BOARD
22
23 config BLACKFIN
24         bool "Blackfin architecture"
25         select HAVE_GENERIC_BOARD
26
27 config M68K
28         bool "M68000 architecture"
29         select HAVE_GENERIC_BOARD
30
31 config MICROBLAZE
32         bool "MicroBlaze architecture"
33         select HAVE_GENERIC_BOARD
34         select SUPPORT_OF_CONTROL
35
36 config MIPS
37         bool "MIPS architecture"
38         select HAVE_PRIVATE_LIBGCC
39         select HAVE_GENERIC_BOARD
40
41 config NDS32
42         bool "NDS32 architecture"
43
44 config NIOS2
45         bool "Nios II architecture"
46         select HAVE_GENERIC_BOARD
47
48 config OPENRISC
49         bool "OpenRISC architecture"
50
51 config PPC
52         bool "PowerPC architecture"
53         select HAVE_PRIVATE_LIBGCC
54         select HAVE_GENERIC_BOARD
55         select SUPPORT_OF_CONTROL
56
57 config SANDBOX
58         bool "Sandbox"
59         select HAVE_GENERIC_BOARD
60         select SUPPORT_OF_CONTROL
61
62 config SH
63         bool "SuperH architecture"
64         select HAVE_PRIVATE_LIBGCC
65
66 config SPARC
67         bool "SPARC architecture"
68
69 config X86
70         bool "x86 architecture"
71         select HAVE_PRIVATE_LIBGCC
72         select HAVE_GENERIC_BOARD
73         select SUPPORT_OF_CONTROL
74
75 endchoice
76
77 config 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
84 config 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
93 config 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
102 config 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
115 config 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
126 config 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
133 source "arch/arc/Kconfig"
134 source "arch/arm/Kconfig"
135 source "arch/avr32/Kconfig"
136 source "arch/blackfin/Kconfig"
137 source "arch/m68k/Kconfig"
138 source "arch/microblaze/Kconfig"
139 source "arch/mips/Kconfig"
140 source "arch/nds32/Kconfig"
141 source "arch/nios2/Kconfig"
142 source "arch/openrisc/Kconfig"
143 source "arch/powerpc/Kconfig"
144 source "arch/sandbox/Kconfig"
145 source "arch/sh/Kconfig"
146 source "arch/sparc/Kconfig"
147 source "arch/x86/Kconfig"