blob: ffc7b45379401da5e9f339fd82ad14f85d392c36 [file] [log] [blame]
Masahiro Yamadaa350c6a2015-07-15 20:59:29 +09001config CREATE_ARCH_SYMLINK
2 bool
3
Masahiro Yamada9a387122016-06-28 10:48:42 +09004config HAVE_ARCH_IOREMAP
5 bool
6
Masahiro Yamada51631252014-07-30 14:08:15 +09007choice
8 prompt "Architecture select"
9 default SANDBOX
10
11config ARC
12 bool "ARC architecture"
Alexey Brodkina67ef282015-02-03 13:58:20 +030013 select HAVE_PRIVATE_LIBGCC
Alexey Brodkin01496c42015-03-17 14:55:14 +030014 select SUPPORT_OF_CONTROL
Masahiro Yamada51631252014-07-30 14:08:15 +090015
16config ARM
17 bool "ARM architecture"
Masahiro Yamadaa350c6a2015-07-15 20:59:29 +090018 select CREATE_ARCH_SYMLINK
Masahiro Yamada64b77ed2015-07-03 16:13:09 +090019 select HAVE_PRIVATE_LIBGCC if !ARM64
Masahiro Yamada783e6a72014-09-22 19:59:05 +090020 select SUPPORT_OF_CONTROL
Masahiro Yamada51631252014-07-30 14:08:15 +090021
22config AVR32
23 bool "AVR32 architecture"
Masahiro Yamadaa350c6a2015-07-15 20:59:29 +090024 select CREATE_ARCH_SYMLINK
Masahiro Yamada51631252014-07-30 14:08:15 +090025
26config BLACKFIN
27 bool "Blackfin architecture"
28
29config M68K
30 bool "M68000 architecture"
angelo@sysam.it6463fd82015-12-06 17:47:59 +010031 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada51631252014-07-30 14:08:15 +090032
33config MICROBLAZE
34 bool "MicroBlaze architecture"
Masahiro Yamada783e6a72014-09-22 19:59:05 +090035 select SUPPORT_OF_CONTROL
Masahiro Yamada51631252014-07-30 14:08:15 +090036
37config MIPS
38 bool "MIPS architecture"
Masahiro Yamada9a387122016-06-28 10:48:42 +090039 select HAVE_ARCH_IOREMAP
Masahiro Yamada45ccec82014-10-24 01:30:43 +090040 select HAVE_PRIVATE_LIBGCC
Daniel Schwierzeck0fc13a92015-12-19 20:20:48 +010041 select SUPPORT_OF_CONTROL
Masahiro Yamada51631252014-07-30 14:08:15 +090042
43config NDS32
44 bool "NDS32 architecture"
45
46config NIOS2
47 bool "Nios II architecture"
Thomas Choua03377b2015-09-04 13:18:00 +080048 select SUPPORT_OF_CONTROL
Thomas Choubcae80e2015-10-21 21:34:57 +080049 select OF_CONTROL
50 select DM
51 select CPU
Masahiro Yamada51631252014-07-30 14:08:15 +090052
53config OPENRISC
54 bool "OpenRISC architecture"
55
56config PPC
57 bool "PowerPC architecture"
Masahiro Yamada45ccec82014-10-24 01:30:43 +090058 select HAVE_PRIVATE_LIBGCC
Simon Glassc1c61572015-02-07 11:51:35 -070059 select SUPPORT_OF_CONTROL
Masahiro Yamada51631252014-07-30 14:08:15 +090060
61config SANDBOX
62 bool "Sandbox"
Masahiro Yamada783e6a72014-09-22 19:59:05 +090063 select SUPPORT_OF_CONTROL
Masahiro Yamada58d423b2015-03-31 12:47:53 +090064 select DM
Masahiro Yamada558e1252016-09-08 18:47:35 +090065 select DM_KEYBOARD
Masahiro Yamada58d423b2015-03-31 12:47:53 +090066 select DM_SPI_FLASH
67 select DM_SERIAL
68 select DM_I2C
69 select DM_SPI
70 select DM_GPIO
Simon Glass9a46bd32016-06-12 23:30:26 -060071 select DM_MMC
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"
Masahiro Yamadaa350c6a2015-07-15 20:59:29 +090079 select CREATE_ARCH_SYMLINK
Masahiro Yamada51631252014-07-30 14:08:15 +090080
81config X86
82 bool "x86 architecture"
Masahiro Yamadaa350c6a2015-07-15 20:59:29 +090083 select CREATE_ARCH_SYMLINK
Masahiro Yamada45ccec82014-10-24 01:30:43 +090084 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada783e6a72014-09-22 19:59:05 +090085 select SUPPORT_OF_CONTROL
Masahiro Yamada58d423b2015-03-31 12:47:53 +090086 select DM
Masahiro Yamada558e1252016-09-08 18:47:35 +090087 select DM_KEYBOARD
Masahiro Yamada58d423b2015-03-31 12:47:53 +090088 select DM_SERIAL
89 select DM_GPIO
Bin Meng3e452222015-04-27 23:22:27 +080090 select DM_SPI
91 select DM_SPI_FLASH
Masahiro Yamada51631252014-07-30 14:08:15 +090092
Chris Zankelc978b522016-08-10 18:36:44 +030093config XTENSA
94 bool "Xtensa architecture"
95 select CREATE_ARCH_SYMLINK
96 select SUPPORT_OF_CONTROL
97
Masahiro Yamada51631252014-07-30 14:08:15 +090098endchoice
99
Masahiro Yamada3174e4e2014-09-14 03:01:48 +0900100config SYS_ARCH
101 string
102 help
103 This option should contain the architecture name to build the
104 appropriate arch/<CONFIG_SYS_ARCH> directory.
105 All the architectures should specify this option correctly.
106
107config SYS_CPU
108 string
109 help
110 This option should contain the CPU name to build the correct
111 arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
112
113 This is optional. For those targets without the CPU directory,
114 leave this option empty.
115
116config SYS_SOC
117 string
118 help
119 This option should contain the SoC name to build the directory
120 arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
121
122 This is optional. For those targets without the SoC directory,
123 leave this option empty.
124
125config SYS_VENDOR
126 string
127 help
128 This option should contain the vendor name of the target board.
129 If it is set and
130 board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
131 directory is compiled.
132 If CONFIG_SYS_BOARD is also set, the sources under
133 board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
134
135 This is optional. For those targets without the vendor directory,
136 leave this option empty.
137
138config SYS_BOARD
139 string
140 help
141 This option should contain the name of the target board.
142 If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
143 or board/<CONFIG_SYS_BOARD> directory is compiled depending on
144 whether CONFIG_SYS_VENDOR is set or not.
145
146 This is optional. For those targets without the board directory,
147 leave this option empty.
148
149config SYS_CONFIG_NAME
150 string
151 help
152 This option should contain the base name of board header file.
153 The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
154 should be included from include/config.h.
155
Masahiro Yamada51631252014-07-30 14:08:15 +0900156source "arch/arc/Kconfig"
157source "arch/arm/Kconfig"
158source "arch/avr32/Kconfig"
159source "arch/blackfin/Kconfig"
160source "arch/m68k/Kconfig"
161source "arch/microblaze/Kconfig"
162source "arch/mips/Kconfig"
163source "arch/nds32/Kconfig"
164source "arch/nios2/Kconfig"
165source "arch/openrisc/Kconfig"
166source "arch/powerpc/Kconfig"
167source "arch/sandbox/Kconfig"
168source "arch/sh/Kconfig"
169source "arch/sparc/Kconfig"
170source "arch/x86/Kconfig"
Chris Zankelc978b522016-08-10 18:36:44 +0300171source "arch/xtensa/Kconfig"