blob: 566f04430890e212fcd16331d7fd51dbe0103d0c [file] [log] [blame]
Masahiro Yamada58654502015-07-15 20:59:29 +09001config CREATE_ARCH_SYMLINK
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
Alexey Brodkine458cc12015-03-17 14:55:14 +030011 select SUPPORT_OF_CONTROL
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090012
13config ARM
14 bool "ARM architecture"
Masahiro Yamada58654502015-07-15 20:59:29 +090015 select CREATE_ARCH_SYMLINK
Masahiro Yamada06280592015-07-03 16:13:09 +090016 select HAVE_PRIVATE_LIBGCC if !ARM64
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 Yamada58654502015-07-15 20:59:29 +090021 select CREATE_ARCH_SYMLINK
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090022
23config BLACKFIN
24 bool "Blackfin architecture"
25
26config M68K
27 bool "M68000 architecture"
angelo@sysam.it5e798172015-12-06 17:47:59 +010028 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090029
30config MICROBLAZE
31 bool "MicroBlaze architecture"
Masahiro Yamada9fadbc82014-09-22 19:59:05 +090032 select SUPPORT_OF_CONTROL
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090033
34config MIPS
35 bool "MIPS architecture"
Masahiro Yamada9520b712014-10-24 01:30:43 +090036 select HAVE_PRIVATE_LIBGCC
Daniel Schwierzeckde5b6e22015-12-19 20:20:48 +010037 select SUPPORT_OF_CONTROL
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090038
39config NDS32
40 bool "NDS32 architecture"
41
42config NIOS2
43 bool "Nios II architecture"
Thomas Chou08e4e9c2015-09-04 13:18:00 +080044 select SUPPORT_OF_CONTROL
Thomas Chouc6170262015-10-21 21:34:57 +080045 select OF_CONTROL
46 select DM
47 select CPU
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090048
49config OPENRISC
50 bool "OpenRISC architecture"
51
52config PPC
53 bool "PowerPC architecture"
Masahiro Yamada9520b712014-10-24 01:30:43 +090054 select HAVE_PRIVATE_LIBGCC
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 Yamada9fadbc82014-09-22 19:59:05 +090059 select SUPPORT_OF_CONTROL
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +090060 select DM
61 select DM_SPI_FLASH
62 select DM_SERIAL
63 select DM_I2C
64 select DM_SPI
65 select DM_GPIO
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090066
67config SH
68 bool "SuperH architecture"
Masahiro Yamada9520b712014-10-24 01:30:43 +090069 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090070
71config SPARC
72 bool "SPARC architecture"
Masahiro Yamada58654502015-07-15 20:59:29 +090073 select CREATE_ARCH_SYMLINK
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090074
75config X86
76 bool "x86 architecture"
Masahiro Yamada58654502015-07-15 20:59:29 +090077 select CREATE_ARCH_SYMLINK
Masahiro Yamada9520b712014-10-24 01:30:43 +090078 select HAVE_PRIVATE_LIBGCC
Masahiro Yamada9fadbc82014-09-22 19:59:05 +090079 select SUPPORT_OF_CONTROL
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +090080 select DM
81 select DM_SERIAL
82 select DM_GPIO
Bin Meng8dbe0812015-04-27 23:22:27 +080083 select DM_SPI
84 select DM_SPI_FLASH
Masahiro Yamada804bc5e2014-07-30 14:08:15 +090085
86endchoice
87
Masahiro Yamada52a5f972014-09-14 03:01:48 +090088config SYS_ARCH
89 string
90 help
91 This option should contain the architecture name to build the
92 appropriate arch/<CONFIG_SYS_ARCH> directory.
93 All the architectures should specify this option correctly.
94
95config SYS_CPU
96 string
97 help
98 This option should contain the CPU name to build the correct
99 arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
100
101 This is optional. For those targets without the CPU directory,
102 leave this option empty.
103
104config SYS_SOC
105 string
106 help
107 This option should contain the SoC name to build the directory
108 arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
109
110 This is optional. For those targets without the SoC directory,
111 leave this option empty.
112
113config SYS_VENDOR
114 string
115 help
116 This option should contain the vendor name of the target board.
117 If it is set and
118 board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
119 directory is compiled.
120 If CONFIG_SYS_BOARD is also set, the sources under
121 board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
122
123 This is optional. For those targets without the vendor directory,
124 leave this option empty.
125
126config SYS_BOARD
127 string
128 help
129 This option should contain the name of the target board.
130 If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
131 or board/<CONFIG_SYS_BOARD> directory is compiled depending on
132 whether CONFIG_SYS_VENDOR is set or not.
133
134 This is optional. For those targets without the board directory,
135 leave this option empty.
136
137config SYS_CONFIG_NAME
138 string
139 help
140 This option should contain the base name of board header file.
141 The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
142 should be included from include/config.h.
143
Masahiro Yamada804bc5e2014-07-30 14:08:15 +0900144source "arch/arc/Kconfig"
145source "arch/arm/Kconfig"
146source "arch/avr32/Kconfig"
147source "arch/blackfin/Kconfig"
148source "arch/m68k/Kconfig"
149source "arch/microblaze/Kconfig"
150source "arch/mips/Kconfig"
151source "arch/nds32/Kconfig"
152source "arch/nios2/Kconfig"
153source "arch/openrisc/Kconfig"
154source "arch/powerpc/Kconfig"
155source "arch/sandbox/Kconfig"
156source "arch/sh/Kconfig"
157source "arch/sparc/Kconfig"
158source "arch/x86/Kconfig"