blob: cdd166218fb1e364c5d0ff462d4a3ad8301809fd [file] [log] [blame]
Masahiro Yamada9e4af832015-03-19 19:42:51 +09001config HAVE_GENERIC_BOARD
2 bool
3
Masahiro Yamada804bc5e2014-07-30 14:08:15 +09004choice
5 prompt "Architecture select"
6 default SANDBOX
7
8config ARC
9 bool "ARC architecture"
Alexey Brodkin93206d22015-02-03 13:58:20 +030010 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada9e4af832015-03-19 19:42:51 +090011 select HAVE_GENERIC_BOARD
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090012
13config ARM
14 bool "ARM architecture"
Masahiro Yamada9520b712014-10-24 01:30:43 +090015 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada9e4af832015-03-19 19:42:51 +090016 select HAVE_GENERIC_BOARD
Masahiro Yamada9fadbc82014-09-22 19:59:05 +090017 select SUPPORT_OF_CONTROL
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090018
19config AVR32
20 bool "AVR32 architecture"
Masahiro Yamada9e4af832015-03-19 19:42:51 +090021 select HAVE_GENERIC_BOARD
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090022
23config BLACKFIN
24 bool "Blackfin architecture"
Masahiro Yamada9e4af832015-03-19 19:42:51 +090025 select HAVE_GENERIC_BOARD
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090026
27config M68K
28 bool "M68000 architecture"
Masahiro Yamada9e4af832015-03-19 19:42:51 +090029 select HAVE_GENERIC_BOARD
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090030
31config MICROBLAZE
32 bool "MicroBlaze architecture"
Masahiro Yamada9e4af832015-03-19 19:42:51 +090033 select HAVE_GENERIC_BOARD
Masahiro Yamada9fadbc82014-09-22 19:59:05 +090034 select SUPPORT_OF_CONTROL
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090035
36config MIPS
37 bool "MIPS architecture"
Masahiro Yamada9520b712014-10-24 01:30:43 +090038 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada9e4af832015-03-19 19:42:51 +090039 select HAVE_GENERIC_BOARD
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090040
41config NDS32
42 bool "NDS32 architecture"
43
44config NIOS2
45 bool "Nios II architecture"
Masahiro Yamada9e4af832015-03-19 19:42:51 +090046 select HAVE_GENERIC_BOARD
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090047
48config OPENRISC
49 bool "OpenRISC architecture"
50
51config PPC
52 bool "PowerPC architecture"
Masahiro Yamada9520b712014-10-24 01:30:43 +090053 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada9e4af832015-03-19 19:42:51 +090054 select HAVE_GENERIC_BOARD
Simon Glass90f83c82015-02-07 11:51:35 -070055 select SUPPORT_OF_CONTROL
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090056
57config SANDBOX
58 bool "Sandbox"
Masahiro Yamada9e4af832015-03-19 19:42:51 +090059 select HAVE_GENERIC_BOARD
Masahiro Yamada9fadbc82014-09-22 19:59:05 +090060 select SUPPORT_OF_CONTROL
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090061
62config SH
63 bool "SuperH architecture"
Masahiro Yamada9520b712014-10-24 01:30:43 +090064 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090065
66config SPARC
67 bool "SPARC architecture"
68
69config X86
70 bool "x86 architecture"
Masahiro Yamada9520b712014-10-24 01:30:43 +090071 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada9e4af832015-03-19 19:42:51 +090072 select HAVE_GENERIC_BOARD
Masahiro Yamada9fadbc82014-09-22 19:59:05 +090073 select SUPPORT_OF_CONTROL
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090074
75endchoice
76
Masahiro Yamada52a5f972014-09-14 03:01:48 +090077config SYS_ARCH
78 string
79 help
80 This option should contain the architecture name to build the
81 appropriate arch/<CONFIG_SYS_ARCH> directory.
82 All the architectures should specify this option correctly.
83
84config SYS_CPU
85 string
86 help
87 This option should contain the CPU name to build the correct
88 arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
89
90 This is optional. For those targets without the CPU directory,
91 leave this option empty.
92
93config SYS_SOC
94 string
95 help
96 This option should contain the SoC name to build the directory
97 arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
98
99 This is optional. For those targets without the SoC directory,
100 leave this option empty.
101
102config SYS_VENDOR
103 string
104 help
105 This option should contain the vendor name of the target board.
106 If it is set and
107 board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
108 directory is compiled.
109 If CONFIG_SYS_BOARD is also set, the sources under
110 board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
111
112 This is optional. For those targets without the vendor directory,
113 leave this option empty.
114
115config SYS_BOARD
116 string
117 help
118 This option should contain the name of the target board.
119 If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
120 or board/<CONFIG_SYS_BOARD> directory is compiled depending on
121 whether CONFIG_SYS_VENDOR is set or not.
122
123 This is optional. For those targets without the board directory,
124 leave this option empty.
125
126config SYS_CONFIG_NAME
127 string
128 help
129 This option should contain the base name of board header file.
130 The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
131 should be included from include/config.h.
132
Masahiro Yamada804bc5e2014-07-30 14:08:15 +0900133source "arch/arc/Kconfig"
134source "arch/arm/Kconfig"
135source "arch/avr32/Kconfig"
136source "arch/blackfin/Kconfig"
137source "arch/m68k/Kconfig"
138source "arch/microblaze/Kconfig"
139source "arch/mips/Kconfig"
140source "arch/nds32/Kconfig"
141source "arch/nios2/Kconfig"
142source "arch/openrisc/Kconfig"
143source "arch/powerpc/Kconfig"
144source "arch/sandbox/Kconfig"
145source "arch/sh/Kconfig"
146source "arch/sparc/Kconfig"
147source "arch/x86/Kconfig"