blob: bb1a818e10cfa8d46bb4a6d7a48186e0f2350ec7 [file] [log] [blame]
Masahiro Yamada58654502015-07-15 20:59:29 +09001config CREATE_ARCH_SYMLINK
2 bool
3
Masahiro Yamada332b8292016-06-28 10:48:42 +09004config HAVE_ARCH_IOREMAP
5 bool
6
Masahiro Yamada804bc5e2014-07-30 14:08:15 +09007choice
8 prompt "Architecture select"
9 default SANDBOX
10
11config ARC
12 bool "ARC architecture"
Alexey Brodkin93206d22015-02-03 13:58:20 +030013 select HAVE_PRIVATE_LIBGCC
Alexey Brodkine458cc12015-03-17 14:55:14 +030014 select SUPPORT_OF_CONTROL
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090015
16config ARM
17 bool "ARM architecture"
Masahiro Yamada58654502015-07-15 20:59:29 +090018 select CREATE_ARCH_SYMLINK
Masahiro Yamada06280592015-07-03 16:13:09 +090019 select HAVE_PRIVATE_LIBGCC if !ARM64
Masahiro Yamada9fadbc82014-09-22 19:59:05 +090020 select SUPPORT_OF_CONTROL
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090021
22config AVR32
23 bool "AVR32 architecture"
Masahiro Yamada58654502015-07-15 20:59:29 +090024 select CREATE_ARCH_SYMLINK
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090025
26config BLACKFIN
27 bool "Blackfin architecture"
28
29config M68K
30 bool "M68000 architecture"
angelo@sysam.it5e798172015-12-06 17:47:59 +010031 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090032
33config MICROBLAZE
34 bool "MicroBlaze architecture"
Masahiro Yamada9fadbc82014-09-22 19:59:05 +090035 select SUPPORT_OF_CONTROL
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090036
37config MIPS
38 bool "MIPS architecture"
Masahiro Yamada332b8292016-06-28 10:48:42 +090039 select HAVE_ARCH_IOREMAP
Masahiro Yamada9520b712014-10-24 01:30:43 +090040 select HAVE_PRIVATE_LIBGCC
Daniel Schwierzeckde5b6e22015-12-19 20:20:48 +010041 select SUPPORT_OF_CONTROL
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090042
43config NDS32
44 bool "NDS32 architecture"
45
46config NIOS2
47 bool "Nios II architecture"
Thomas Chou08e4e9c2015-09-04 13:18:00 +080048 select SUPPORT_OF_CONTROL
Thomas Chouc6170262015-10-21 21:34:57 +080049 select OF_CONTROL
50 select DM
51 select CPU
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090052
53config OPENRISC
54 bool "OpenRISC architecture"
55
56config PPC
57 bool "PowerPC architecture"
Masahiro Yamada9520b712014-10-24 01:30:43 +090058 select HAVE_PRIVATE_LIBGCC
Simon Glass90f83c82015-02-07 11:51:35 -070059 select SUPPORT_OF_CONTROL
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090060
61config SANDBOX
62 bool "Sandbox"
Tom Rini22d567e2017-01-22 19:43:11 -050063 select BOARD_LATE_INIT
Masahiro Yamada9fadbc82014-09-22 19:59:05 +090064 select SUPPORT_OF_CONTROL
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +090065 select DM
Masahiro Yamadab11b2352016-09-08 18:47:35 +090066 select DM_KEYBOARD
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +090067 select DM_SPI_FLASH
68 select DM_SERIAL
69 select DM_I2C
70 select DM_SPI
71 select DM_GPIO
Simon Glassefcc6692016-06-12 23:30:26 -060072 select DM_MMC
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"
Masahiro Yamada58654502015-07-15 20:59:29 +090080 select CREATE_ARCH_SYMLINK
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090081
82config X86
83 bool "x86 architecture"
Masahiro Yamada58654502015-07-15 20:59:29 +090084 select CREATE_ARCH_SYMLINK
Masahiro Yamada9520b712014-10-24 01:30:43 +090085 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada9fadbc82014-09-22 19:59:05 +090086 select SUPPORT_OF_CONTROL
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +090087 select DM
Masahiro Yamadab11b2352016-09-08 18:47:35 +090088 select DM_KEYBOARD
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +090089 select DM_SERIAL
90 select DM_GPIO
Bin Meng8dbe0812015-04-27 23:22:27 +080091 select DM_SPI
92 select DM_SPI_FLASH
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090093
Chris Zankel1387dab2016-08-10 18:36:44 +030094config XTENSA
95 bool "Xtensa architecture"
96 select CREATE_ARCH_SYMLINK
97 select SUPPORT_OF_CONTROL
98
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090099endchoice
100
Masahiro Yamada52a5f972014-09-14 03:01:48 +0900101config 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
108config 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
117config 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
126config 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
139config 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
150config 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
Masahiro Yamada804bc5e2014-07-30 14:08:15 +0900157source "arch/arc/Kconfig"
158source "arch/arm/Kconfig"
159source "arch/avr32/Kconfig"
160source "arch/blackfin/Kconfig"
161source "arch/m68k/Kconfig"
162source "arch/microblaze/Kconfig"
163source "arch/mips/Kconfig"
164source "arch/nds32/Kconfig"
165source "arch/nios2/Kconfig"
166source "arch/openrisc/Kconfig"
167source "arch/powerpc/Kconfig"
168source "arch/sandbox/Kconfig"
169source "arch/sh/Kconfig"
170source "arch/sparc/Kconfig"
171source "arch/x86/Kconfig"
Chris Zankel1387dab2016-08-10 18:36:44 +0300172source "arch/xtensa/Kconfig"