blob: ca617e75ab92557165048bc025506bbb478ed76a [file] [log] [blame]
Masahiro Yamada0a12e682015-03-19 19:42:51 +09001config HAVE_GENERIC_BOARD
2 bool
3
Masahiro Yamada0a9e7ee2015-03-19 19:42:52 +09004config SYS_GENERIC_BOARD
5 bool
6 depends on HAVE_GENERIC_BOARD
7
Masahiro Yamada51631252014-07-30 14:08:15 +09008choice
9 prompt "Architecture select"
10 default SANDBOX
11
12config ARC
13 bool "ARC architecture"
Alexey Brodkina67ef282015-02-03 13:58:20 +030014 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada0a12e682015-03-19 19:42:51 +090015 select HAVE_GENERIC_BOARD
Masahiro Yamada0a9e7ee2015-03-19 19:42:52 +090016 select SYS_GENERIC_BOARD
Masahiro Yamada51631252014-07-30 14:08:15 +090017
18config ARM
19 bool "ARM architecture"
Masahiro Yamada45ccec82014-10-24 01:30:43 +090020 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada0a12e682015-03-19 19:42:51 +090021 select HAVE_GENERIC_BOARD
Masahiro Yamada783e6a72014-09-22 19:59:05 +090022 select SUPPORT_OF_CONTROL
Masahiro Yamada51631252014-07-30 14:08:15 +090023
24config AVR32
25 bool "AVR32 architecture"
Masahiro Yamada0a12e682015-03-19 19:42:51 +090026 select HAVE_GENERIC_BOARD
Masahiro Yamada51631252014-07-30 14:08:15 +090027
28config BLACKFIN
29 bool "Blackfin architecture"
Masahiro Yamada0a12e682015-03-19 19:42:51 +090030 select HAVE_GENERIC_BOARD
Masahiro Yamada0a9e7ee2015-03-19 19:42:52 +090031 select SYS_GENERIC_BOARD
Masahiro Yamada51631252014-07-30 14:08:15 +090032
33config M68K
34 bool "M68000 architecture"
Masahiro Yamada0a12e682015-03-19 19:42:51 +090035 select HAVE_GENERIC_BOARD
Masahiro Yamada0a9e7ee2015-03-19 19:42:52 +090036 select SYS_GENERIC_BOARD
Masahiro Yamada51631252014-07-30 14:08:15 +090037
38config MICROBLAZE
39 bool "MicroBlaze architecture"
Masahiro Yamada0a12e682015-03-19 19:42:51 +090040 select HAVE_GENERIC_BOARD
Masahiro Yamada0a9e7ee2015-03-19 19:42:52 +090041 select SYS_GENERIC_BOARD
Masahiro Yamada783e6a72014-09-22 19:59:05 +090042 select SUPPORT_OF_CONTROL
Masahiro Yamada51631252014-07-30 14:08:15 +090043
44config MIPS
45 bool "MIPS architecture"
Masahiro Yamada45ccec82014-10-24 01:30:43 +090046 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada0a12e682015-03-19 19:42:51 +090047 select HAVE_GENERIC_BOARD
Masahiro Yamada0a9e7ee2015-03-19 19:42:52 +090048 select SYS_GENERIC_BOARD
Masahiro Yamada51631252014-07-30 14:08:15 +090049
50config NDS32
51 bool "NDS32 architecture"
52
53config NIOS2
54 bool "Nios II architecture"
Masahiro Yamada0a12e682015-03-19 19:42:51 +090055 select HAVE_GENERIC_BOARD
Masahiro Yamada0a9e7ee2015-03-19 19:42:52 +090056 select SYS_GENERIC_BOARD
Masahiro Yamada51631252014-07-30 14:08:15 +090057
58config OPENRISC
59 bool "OpenRISC architecture"
60
61config PPC
62 bool "PowerPC architecture"
Masahiro Yamada45ccec82014-10-24 01:30:43 +090063 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada0a12e682015-03-19 19:42:51 +090064 select HAVE_GENERIC_BOARD
Simon Glassc1c61572015-02-07 11:51:35 -070065 select SUPPORT_OF_CONTROL
Masahiro Yamada51631252014-07-30 14:08:15 +090066
67config SANDBOX
68 bool "Sandbox"
Masahiro Yamada0a12e682015-03-19 19:42:51 +090069 select HAVE_GENERIC_BOARD
Masahiro Yamada0a9e7ee2015-03-19 19:42:52 +090070 select SYS_GENERIC_BOARD
Masahiro Yamada783e6a72014-09-22 19:59:05 +090071 select SUPPORT_OF_CONTROL
Masahiro Yamada51631252014-07-30 14:08:15 +090072
73config SH
74 bool "SuperH architecture"
Masahiro Yamada45ccec82014-10-24 01:30:43 +090075 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada51631252014-07-30 14:08:15 +090076
77config SPARC
78 bool "SPARC architecture"
79
80config X86
81 bool "x86 architecture"
Masahiro Yamada45ccec82014-10-24 01:30:43 +090082 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada0a12e682015-03-19 19:42:51 +090083 select HAVE_GENERIC_BOARD
Masahiro Yamada0a9e7ee2015-03-19 19:42:52 +090084 select SYS_GENERIC_BOARD
Masahiro Yamada783e6a72014-09-22 19:59:05 +090085 select SUPPORT_OF_CONTROL
Masahiro Yamada51631252014-07-30 14:08:15 +090086
87endchoice
88
Masahiro Yamada3174e4e2014-09-14 03:01:48 +090089config SYS_ARCH
90 string
91 help
92 This option should contain the architecture name to build the
93 appropriate arch/<CONFIG_SYS_ARCH> directory.
94 All the architectures should specify this option correctly.
95
96config SYS_CPU
97 string
98 help
99 This option should contain the CPU name to build the correct
100 arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
101
102 This is optional. For those targets without the CPU directory,
103 leave this option empty.
104
105config SYS_SOC
106 string
107 help
108 This option should contain the SoC name to build the directory
109 arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
110
111 This is optional. For those targets without the SoC directory,
112 leave this option empty.
113
114config SYS_VENDOR
115 string
116 help
117 This option should contain the vendor name of the target board.
118 If it is set and
119 board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
120 directory is compiled.
121 If CONFIG_SYS_BOARD is also set, the sources under
122 board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
123
124 This is optional. For those targets without the vendor directory,
125 leave this option empty.
126
127config SYS_BOARD
128 string
129 help
130 This option should contain the name of the target board.
131 If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
132 or board/<CONFIG_SYS_BOARD> directory is compiled depending on
133 whether CONFIG_SYS_VENDOR is set or not.
134
135 This is optional. For those targets without the board directory,
136 leave this option empty.
137
138config SYS_CONFIG_NAME
139 string
140 help
141 This option should contain the base name of board header file.
142 The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
143 should be included from include/config.h.
144
Masahiro Yamada51631252014-07-30 14:08:15 +0900145source "arch/arc/Kconfig"
146source "arch/arm/Kconfig"
147source "arch/avr32/Kconfig"
148source "arch/blackfin/Kconfig"
149source "arch/m68k/Kconfig"
150source "arch/microblaze/Kconfig"
151source "arch/mips/Kconfig"
152source "arch/nds32/Kconfig"
153source "arch/nios2/Kconfig"
154source "arch/openrisc/Kconfig"
155source "arch/powerpc/Kconfig"
156source "arch/sandbox/Kconfig"
157source "arch/sh/Kconfig"
158source "arch/sparc/Kconfig"
159source "arch/x86/Kconfig"