blob: 2ca530525e08d33bf433ff0fd0bf21481f2f9a2d [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 Yamada9520b712014-10-24 01:30:43 +090021 select HAVE_PRIVATE_LIBGCC
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 Yamada804bc5e2014-07-30 14:08:15 +090028
29config BLACKFIN
30 bool "Blackfin architecture"
Masahiro Yamada9e4af832015-03-19 19:42:51 +090031 select HAVE_GENERIC_BOARD
Masahiro Yamada57a11eb2015-03-19 19:42:52 +090032 select SYS_GENERIC_BOARD
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090033
34config M68K
35 bool "M68000 architecture"
Masahiro Yamada9e4af832015-03-19 19:42:51 +090036 select HAVE_GENERIC_BOARD
Masahiro Yamada57a11eb2015-03-19 19:42:52 +090037 select SYS_GENERIC_BOARD
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090038
39config MICROBLAZE
40 bool "MicroBlaze architecture"
Masahiro Yamada9e4af832015-03-19 19:42:51 +090041 select HAVE_GENERIC_BOARD
Masahiro Yamada57a11eb2015-03-19 19:42:52 +090042 select SYS_GENERIC_BOARD
Masahiro Yamada9fadbc82014-09-22 19:59:05 +090043 select SUPPORT_OF_CONTROL
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090044
45config MIPS
46 bool "MIPS architecture"
Masahiro Yamada9520b712014-10-24 01:30:43 +090047 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada9e4af832015-03-19 19:42:51 +090048 select HAVE_GENERIC_BOARD
Masahiro Yamada57a11eb2015-03-19 19:42:52 +090049 select SYS_GENERIC_BOARD
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090050
51config NDS32
52 bool "NDS32 architecture"
53
54config NIOS2
55 bool "Nios II architecture"
Masahiro Yamada9e4af832015-03-19 19:42:51 +090056 select HAVE_GENERIC_BOARD
Masahiro Yamada57a11eb2015-03-19 19:42:52 +090057 select SYS_GENERIC_BOARD
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090058
59config OPENRISC
60 bool "OpenRISC architecture"
61
62config PPC
63 bool "PowerPC architecture"
Masahiro Yamada9520b712014-10-24 01:30:43 +090064 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada9e4af832015-03-19 19:42:51 +090065 select HAVE_GENERIC_BOARD
Simon Glass90f83c82015-02-07 11:51:35 -070066 select SUPPORT_OF_CONTROL
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090067
68config SANDBOX
69 bool "Sandbox"
Masahiro Yamada9e4af832015-03-19 19:42:51 +090070 select HAVE_GENERIC_BOARD
Masahiro Yamada57a11eb2015-03-19 19:42:52 +090071 select SYS_GENERIC_BOARD
Masahiro Yamada9fadbc82014-09-22 19:59:05 +090072 select SUPPORT_OF_CONTROL
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090073
74config SH
75 bool "SuperH architecture"
Masahiro Yamada9520b712014-10-24 01:30:43 +090076 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090077
78config SPARC
79 bool "SPARC architecture"
80
81config X86
82 bool "x86 architecture"
Masahiro Yamada9520b712014-10-24 01:30:43 +090083 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada9e4af832015-03-19 19:42:51 +090084 select HAVE_GENERIC_BOARD
Masahiro Yamada57a11eb2015-03-19 19:42:52 +090085 select SYS_GENERIC_BOARD
Masahiro Yamada9fadbc82014-09-22 19:59:05 +090086 select SUPPORT_OF_CONTROL
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090087
88endchoice
89
Masahiro Yamada52a5f972014-09-14 03:01:48 +090090config SYS_ARCH
91 string
92 help
93 This option should contain the architecture name to build the
94 appropriate arch/<CONFIG_SYS_ARCH> directory.
95 All the architectures should specify this option correctly.
96
97config SYS_CPU
98 string
99 help
100 This option should contain the CPU name to build the correct
101 arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
102
103 This is optional. For those targets without the CPU directory,
104 leave this option empty.
105
106config SYS_SOC
107 string
108 help
109 This option should contain the SoC name to build the directory
110 arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
111
112 This is optional. For those targets without the SoC directory,
113 leave this option empty.
114
115config SYS_VENDOR
116 string
117 help
118 This option should contain the vendor name of the target board.
119 If it is set and
120 board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
121 directory is compiled.
122 If CONFIG_SYS_BOARD is also set, the sources under
123 board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
124
125 This is optional. For those targets without the vendor directory,
126 leave this option empty.
127
128config SYS_BOARD
129 string
130 help
131 This option should contain the name of the target board.
132 If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
133 or board/<CONFIG_SYS_BOARD> directory is compiled depending on
134 whether CONFIG_SYS_VENDOR is set or not.
135
136 This is optional. For those targets without the board directory,
137 leave this option empty.
138
139config SYS_CONFIG_NAME
140 string
141 help
142 This option should contain the base name of board header file.
143 The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
144 should be included from include/config.h.
145
Masahiro Yamada804bc5e2014-07-30 14:08:15 +0900146source "arch/arc/Kconfig"
147source "arch/arm/Kconfig"
148source "arch/avr32/Kconfig"
149source "arch/blackfin/Kconfig"
150source "arch/m68k/Kconfig"
151source "arch/microblaze/Kconfig"
152source "arch/mips/Kconfig"
153source "arch/nds32/Kconfig"
154source "arch/nios2/Kconfig"
155source "arch/openrisc/Kconfig"
156source "arch/powerpc/Kconfig"
157source "arch/sandbox/Kconfig"
158source "arch/sh/Kconfig"
159source "arch/sparc/Kconfig"
160source "arch/x86/Kconfig"