blob: afa1d6c2d782e00282d14e7838f578ef1b8cd4f7 [file] [log] [blame]
Masahiro Yamada9e4af832015-03-19 19:42:51 +09001config HAVE_GENERIC_BOARD
2 bool
3
Masahiro Yamada57a11eb2015-03-19 19:42:52 +09004config SYS_GENERIC_BOARD
5 bool
6 depends on HAVE_GENERIC_BOARD
7
Masahiro Yamada804bc5e2014-07-30 14:08:15 +09008choice
9 prompt "Architecture select"
10 default SANDBOX
11
12config ARC
13 bool "ARC architecture"
Alexey Brodkin93206d22015-02-03 13:58:20 +030014 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada9e4af832015-03-19 19:42:51 +090015 select HAVE_GENERIC_BOARD
Masahiro Yamada57a11eb2015-03-19 19:42:52 +090016 select SYS_GENERIC_BOARD
Alexey Brodkine458cc12015-03-17 14:55:14 +030017 select SUPPORT_OF_CONTROL
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090018
19config ARM
20 bool "ARM architecture"
Masahiro Yamada06280592015-07-03 16:13:09 +090021 select HAVE_PRIVATE_LIBGCC if !ARM64
Masahiro Yamada9e4af832015-03-19 19:42:51 +090022 select HAVE_GENERIC_BOARD
Masahiro Yamada9fadbc82014-09-22 19:59:05 +090023 select SUPPORT_OF_CONTROL
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090024
25config AVR32
26 bool "AVR32 architecture"
Masahiro Yamada9e4af832015-03-19 19:42:51 +090027 select HAVE_GENERIC_BOARD
Masahiro Yamada843fabd2015-06-11 19:14:50 +090028 select SYS_GENERIC_BOARD
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090029
30config BLACKFIN
31 bool "Blackfin architecture"
Masahiro Yamada9e4af832015-03-19 19:42:51 +090032 select HAVE_GENERIC_BOARD
Masahiro Yamada57a11eb2015-03-19 19:42:52 +090033 select SYS_GENERIC_BOARD
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090034
35config M68K
36 bool "M68000 architecture"
Masahiro Yamada9e4af832015-03-19 19:42:51 +090037 select HAVE_GENERIC_BOARD
Masahiro Yamada57a11eb2015-03-19 19:42:52 +090038 select SYS_GENERIC_BOARD
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090039
40config MICROBLAZE
41 bool "MicroBlaze architecture"
Masahiro Yamada9e4af832015-03-19 19:42:51 +090042 select HAVE_GENERIC_BOARD
Masahiro Yamada57a11eb2015-03-19 19:42:52 +090043 select SYS_GENERIC_BOARD
Masahiro Yamada9fadbc82014-09-22 19:59:05 +090044 select SUPPORT_OF_CONTROL
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090045
46config MIPS
47 bool "MIPS architecture"
Masahiro Yamada9520b712014-10-24 01:30:43 +090048 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada9e4af832015-03-19 19:42:51 +090049 select HAVE_GENERIC_BOARD
Masahiro Yamada57a11eb2015-03-19 19:42:52 +090050 select SYS_GENERIC_BOARD
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090051
52config NDS32
53 bool "NDS32 architecture"
54
55config NIOS2
56 bool "Nios II architecture"
Masahiro Yamada9e4af832015-03-19 19:42:51 +090057 select HAVE_GENERIC_BOARD
Masahiro Yamada57a11eb2015-03-19 19:42:52 +090058 select SYS_GENERIC_BOARD
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090059
60config OPENRISC
61 bool "OpenRISC architecture"
62
63config PPC
64 bool "PowerPC architecture"
Masahiro Yamada9520b712014-10-24 01:30:43 +090065 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada9e4af832015-03-19 19:42:51 +090066 select HAVE_GENERIC_BOARD
Simon Glass90f83c82015-02-07 11:51:35 -070067 select SUPPORT_OF_CONTROL
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090068
69config SANDBOX
70 bool "Sandbox"
Masahiro Yamada9e4af832015-03-19 19:42:51 +090071 select HAVE_GENERIC_BOARD
Masahiro Yamada57a11eb2015-03-19 19:42:52 +090072 select SYS_GENERIC_BOARD
Masahiro Yamada9fadbc82014-09-22 19:59:05 +090073 select SUPPORT_OF_CONTROL
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +090074 select DM
75 select DM_SPI_FLASH
76 select DM_SERIAL
77 select DM_I2C
78 select DM_SPI
79 select DM_GPIO
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090080
81config SH
82 bool "SuperH architecture"
Masahiro Yamada9520b712014-10-24 01:30:43 +090083 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090084
85config SPARC
86 bool "SPARC architecture"
87
88config X86
89 bool "x86 architecture"
Masahiro Yamada9520b712014-10-24 01:30:43 +090090 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada9e4af832015-03-19 19:42:51 +090091 select HAVE_GENERIC_BOARD
Masahiro Yamada57a11eb2015-03-19 19:42:52 +090092 select SYS_GENERIC_BOARD
Masahiro Yamada9fadbc82014-09-22 19:59:05 +090093 select SUPPORT_OF_CONTROL
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +090094 select DM
95 select DM_SERIAL
96 select DM_GPIO
Bin Meng8dbe0812015-04-27 23:22:27 +080097 select DM_SPI
98 select DM_SPI_FLASH
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090099
100endchoice
101
Masahiro Yamada52a5f972014-09-14 03:01:48 +0900102config SYS_ARCH
103 string
104 help
105 This option should contain the architecture name to build the
106 appropriate arch/<CONFIG_SYS_ARCH> directory.
107 All the architectures should specify this option correctly.
108
109config SYS_CPU
110 string
111 help
112 This option should contain the CPU name to build the correct
113 arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
114
115 This is optional. For those targets without the CPU directory,
116 leave this option empty.
117
118config SYS_SOC
119 string
120 help
121 This option should contain the SoC name to build the directory
122 arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
123
124 This is optional. For those targets without the SoC directory,
125 leave this option empty.
126
127config SYS_VENDOR
128 string
129 help
130 This option should contain the vendor name of the target board.
131 If it is set and
132 board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
133 directory is compiled.
134 If CONFIG_SYS_BOARD is also set, the sources under
135 board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
136
137 This is optional. For those targets without the vendor directory,
138 leave this option empty.
139
140config SYS_BOARD
141 string
142 help
143 This option should contain the name of the target board.
144 If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
145 or board/<CONFIG_SYS_BOARD> directory is compiled depending on
146 whether CONFIG_SYS_VENDOR is set or not.
147
148 This is optional. For those targets without the board directory,
149 leave this option empty.
150
151config SYS_CONFIG_NAME
152 string
153 help
154 This option should contain the base name of board header file.
155 The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
156 should be included from include/config.h.
157
Masahiro Yamada804bc5e2014-07-30 14:08:15 +0900158source "arch/arc/Kconfig"
159source "arch/arm/Kconfig"
160source "arch/avr32/Kconfig"
161source "arch/blackfin/Kconfig"
162source "arch/m68k/Kconfig"
163source "arch/microblaze/Kconfig"
164source "arch/mips/Kconfig"
165source "arch/nds32/Kconfig"
166source "arch/nios2/Kconfig"
167source "arch/openrisc/Kconfig"
168source "arch/powerpc/Kconfig"
169source "arch/sandbox/Kconfig"
170source "arch/sh/Kconfig"
171source "arch/sparc/Kconfig"
172source "arch/x86/Kconfig"