Kconfig: Migrate BOARD_LATE_INIT to a select
[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 BOARD_LATE_INIT
64         select SUPPORT_OF_CONTROL
65         select DM
66         select DM_KEYBOARD
67         select DM_SPI_FLASH
68         select DM_SERIAL
69         select DM_I2C
70         select DM_SPI
71         select DM_GPIO
72         select DM_MMC
73
74 config SH
75         bool "SuperH architecture"
76         select HAVE_PRIVATE_LIBGCC
77
78 config SPARC
79         bool "SPARC architecture"
80         select CREATE_ARCH_SYMLINK
81
82 config X86
83         bool "x86 architecture"
84         select CREATE_ARCH_SYMLINK
85         select HAVE_PRIVATE_LIBGCC
86         select SUPPORT_OF_CONTROL
87         select DM
88         select DM_KEYBOARD
89         select DM_SERIAL
90         select DM_GPIO
91         select DM_SPI
92         select DM_SPI_FLASH
93
94 config XTENSA
95         bool "Xtensa architecture"
96         select CREATE_ARCH_SYMLINK
97         select SUPPORT_OF_CONTROL
98
99 endchoice
100
101 config SYS_ARCH
102         string
103         help
104           This option should contain the architecture name to build the
105           appropriate arch/<CONFIG_SYS_ARCH> directory.
106           All the architectures should specify this option correctly.
107
108 config SYS_CPU
109         string
110         help
111           This option should contain the CPU name to build the correct
112           arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
113
114           This is optional.  For those targets without the CPU directory,
115           leave this option empty.
116
117 config SYS_SOC
118         string
119         help
120           This option should contain the SoC name to build the directory
121           arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
122
123           This is optional.  For those targets without the SoC directory,
124           leave this option empty.
125
126 config SYS_VENDOR
127         string
128         help
129           This option should contain the vendor name of the target board.
130           If it is set and
131           board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
132           directory is compiled.
133           If CONFIG_SYS_BOARD is also set, the sources under
134           board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
135
136           This is optional.  For those targets without the vendor directory,
137           leave this option empty.
138
139 config SYS_BOARD
140         string
141         help
142           This option should contain the name of the target board.
143           If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
144           or board/<CONFIG_SYS_BOARD> directory is compiled depending on
145           whether CONFIG_SYS_VENDOR is set or not.
146
147           This is optional.  For those targets without the board directory,
148           leave this option empty.
149
150 config SYS_CONFIG_NAME
151         string
152         help
153           This option should contain the base name of board header file.
154           The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
155           should be included from include/config.h.
156
157 source "arch/arc/Kconfig"
158 source "arch/arm/Kconfig"
159 source "arch/avr32/Kconfig"
160 source "arch/blackfin/Kconfig"
161 source "arch/m68k/Kconfig"
162 source "arch/microblaze/Kconfig"
163 source "arch/mips/Kconfig"
164 source "arch/nds32/Kconfig"
165 source "arch/nios2/Kconfig"
166 source "arch/openrisc/Kconfig"
167 source "arch/powerpc/Kconfig"
168 source "arch/sandbox/Kconfig"
169 source "arch/sh/Kconfig"
170 source "arch/sparc/Kconfig"
171 source "arch/x86/Kconfig"
172 source "arch/xtensa/Kconfig"