]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/Kconfig
generic-board: move __HAVE_ARCH_GENERIC_BOARD to Kconfig
[people/ms/u-boot.git] / arch / Kconfig
CommitLineData
0a12e687
MY
1config HAVE_GENERIC_BOARD
2 bool
3
51631259
MY
4choice
5 prompt "Architecture select"
6 default SANDBOX
7
8config ARC
9 bool "ARC architecture"
a67ef280 10 select HAVE_PRIVATE_LIBGCC
0a12e687 11 select HAVE_GENERIC_BOARD
51631259
MY
12
13config ARM
14 bool "ARM architecture"
45ccec8f 15 select HAVE_PRIVATE_LIBGCC
0a12e687 16 select HAVE_GENERIC_BOARD
783e6a72 17 select SUPPORT_OF_CONTROL
51631259
MY
18
19config AVR32
20 bool "AVR32 architecture"
0a12e687 21 select HAVE_GENERIC_BOARD
51631259
MY
22
23config BLACKFIN
24 bool "Blackfin architecture"
0a12e687 25 select HAVE_GENERIC_BOARD
51631259
MY
26
27config M68K
28 bool "M68000 architecture"
0a12e687 29 select HAVE_GENERIC_BOARD
51631259
MY
30
31config MICROBLAZE
32 bool "MicroBlaze architecture"
0a12e687 33 select HAVE_GENERIC_BOARD
783e6a72 34 select SUPPORT_OF_CONTROL
51631259
MY
35
36config MIPS
37 bool "MIPS architecture"
45ccec8f 38 select HAVE_PRIVATE_LIBGCC
0a12e687 39 select HAVE_GENERIC_BOARD
51631259
MY
40
41config NDS32
42 bool "NDS32 architecture"
43
44config NIOS2
45 bool "Nios II architecture"
0a12e687 46 select HAVE_GENERIC_BOARD
51631259
MY
47
48config OPENRISC
49 bool "OpenRISC architecture"
50
51config PPC
52 bool "PowerPC architecture"
45ccec8f 53 select HAVE_PRIVATE_LIBGCC
0a12e687 54 select HAVE_GENERIC_BOARD
c1c61573 55 select SUPPORT_OF_CONTROL
51631259
MY
56
57config SANDBOX
58 bool "Sandbox"
0a12e687 59 select HAVE_GENERIC_BOARD
783e6a72 60 select SUPPORT_OF_CONTROL
51631259
MY
61
62config SH
63 bool "SuperH architecture"
45ccec8f 64 select HAVE_PRIVATE_LIBGCC
51631259
MY
65
66config SPARC
67 bool "SPARC architecture"
68
69config X86
70 bool "x86 architecture"
45ccec8f 71 select HAVE_PRIVATE_LIBGCC
0a12e687 72 select HAVE_GENERIC_BOARD
783e6a72 73 select SUPPORT_OF_CONTROL
51631259
MY
74
75endchoice
76
3174e4e8
MY
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
51631259
MY
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"