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