Masahiro Yamada | 9e4af83 | 2015-03-19 19:42:51 +0900 | [diff] [blame] | 1 | config HAVE_GENERIC_BOARD |
| 2 | bool |
| 3 | |
Masahiro Yamada | 57a11eb | 2015-03-19 19:42:52 +0900 | [diff] [blame] | 4 | config SYS_GENERIC_BOARD |
| 5 | bool |
| 6 | depends on HAVE_GENERIC_BOARD |
| 7 | |
Masahiro Yamada | 804bc5e | 2014-07-30 14:08:15 +0900 | [diff] [blame] | 8 | choice |
| 9 | prompt "Architecture select" |
| 10 | default SANDBOX |
| 11 | |
| 12 | config ARC |
| 13 | bool "ARC architecture" |
Alexey Brodkin | 93206d2 | 2015-02-03 13:58:20 +0300 | [diff] [blame] | 14 | select HAVE_PRIVATE_LIBGCC |
Masahiro Yamada | 9e4af83 | 2015-03-19 19:42:51 +0900 | [diff] [blame] | 15 | select HAVE_GENERIC_BOARD |
Masahiro Yamada | 57a11eb | 2015-03-19 19:42:52 +0900 | [diff] [blame] | 16 | select SYS_GENERIC_BOARD |
Alexey Brodkin | e458cc1 | 2015-03-17 14:55:14 +0300 | [diff] [blame] | 17 | select SUPPORT_OF_CONTROL |
Masahiro Yamada | 804bc5e | 2014-07-30 14:08:15 +0900 | [diff] [blame] | 18 | |
| 19 | config ARM |
| 20 | bool "ARM architecture" |
Masahiro Yamada | 9520b71 | 2014-10-24 01:30:43 +0900 | [diff] [blame] | 21 | select HAVE_PRIVATE_LIBGCC |
Masahiro Yamada | 9e4af83 | 2015-03-19 19:42:51 +0900 | [diff] [blame] | 22 | select HAVE_GENERIC_BOARD |
Masahiro Yamada | 9fadbc8 | 2014-09-22 19:59:05 +0900 | [diff] [blame] | 23 | select SUPPORT_OF_CONTROL |
Masahiro Yamada | 804bc5e | 2014-07-30 14:08:15 +0900 | [diff] [blame] | 24 | |
| 25 | config AVR32 |
| 26 | bool "AVR32 architecture" |
Masahiro Yamada | 9e4af83 | 2015-03-19 19:42:51 +0900 | [diff] [blame] | 27 | select HAVE_GENERIC_BOARD |
Masahiro Yamada | 843fabd | 2015-06-11 19:14:50 +0900 | [diff] [blame^] | 28 | select SYS_GENERIC_BOARD |
Masahiro Yamada | 804bc5e | 2014-07-30 14:08:15 +0900 | [diff] [blame] | 29 | |
| 30 | config BLACKFIN |
| 31 | bool "Blackfin architecture" |
Masahiro Yamada | 9e4af83 | 2015-03-19 19:42:51 +0900 | [diff] [blame] | 32 | select HAVE_GENERIC_BOARD |
Masahiro Yamada | 57a11eb | 2015-03-19 19:42:52 +0900 | [diff] [blame] | 33 | select SYS_GENERIC_BOARD |
Masahiro Yamada | 804bc5e | 2014-07-30 14:08:15 +0900 | [diff] [blame] | 34 | |
| 35 | config M68K |
| 36 | bool "M68000 architecture" |
Masahiro Yamada | 9e4af83 | 2015-03-19 19:42:51 +0900 | [diff] [blame] | 37 | select HAVE_GENERIC_BOARD |
Masahiro Yamada | 57a11eb | 2015-03-19 19:42:52 +0900 | [diff] [blame] | 38 | select SYS_GENERIC_BOARD |
Masahiro Yamada | 804bc5e | 2014-07-30 14:08:15 +0900 | [diff] [blame] | 39 | |
| 40 | config MICROBLAZE |
| 41 | bool "MicroBlaze architecture" |
Masahiro Yamada | 9e4af83 | 2015-03-19 19:42:51 +0900 | [diff] [blame] | 42 | select HAVE_GENERIC_BOARD |
Masahiro Yamada | 57a11eb | 2015-03-19 19:42:52 +0900 | [diff] [blame] | 43 | select SYS_GENERIC_BOARD |
Masahiro Yamada | 9fadbc8 | 2014-09-22 19:59:05 +0900 | [diff] [blame] | 44 | select SUPPORT_OF_CONTROL |
Masahiro Yamada | 804bc5e | 2014-07-30 14:08:15 +0900 | [diff] [blame] | 45 | |
| 46 | config MIPS |
| 47 | bool "MIPS architecture" |
Masahiro Yamada | 9520b71 | 2014-10-24 01:30:43 +0900 | [diff] [blame] | 48 | select HAVE_PRIVATE_LIBGCC |
Masahiro Yamada | 9e4af83 | 2015-03-19 19:42:51 +0900 | [diff] [blame] | 49 | select HAVE_GENERIC_BOARD |
Masahiro Yamada | 57a11eb | 2015-03-19 19:42:52 +0900 | [diff] [blame] | 50 | select SYS_GENERIC_BOARD |
Masahiro Yamada | 804bc5e | 2014-07-30 14:08:15 +0900 | [diff] [blame] | 51 | |
| 52 | config NDS32 |
| 53 | bool "NDS32 architecture" |
| 54 | |
| 55 | config NIOS2 |
| 56 | bool "Nios II architecture" |
Masahiro Yamada | 9e4af83 | 2015-03-19 19:42:51 +0900 | [diff] [blame] | 57 | select HAVE_GENERIC_BOARD |
Masahiro Yamada | 57a11eb | 2015-03-19 19:42:52 +0900 | [diff] [blame] | 58 | select SYS_GENERIC_BOARD |
Masahiro Yamada | 804bc5e | 2014-07-30 14:08:15 +0900 | [diff] [blame] | 59 | |
| 60 | config OPENRISC |
| 61 | bool "OpenRISC architecture" |
| 62 | |
| 63 | config PPC |
| 64 | bool "PowerPC architecture" |
Masahiro Yamada | 9520b71 | 2014-10-24 01:30:43 +0900 | [diff] [blame] | 65 | select HAVE_PRIVATE_LIBGCC |
Masahiro Yamada | 9e4af83 | 2015-03-19 19:42:51 +0900 | [diff] [blame] | 66 | select HAVE_GENERIC_BOARD |
Simon Glass | 90f83c8 | 2015-02-07 11:51:35 -0700 | [diff] [blame] | 67 | select SUPPORT_OF_CONTROL |
Masahiro Yamada | 804bc5e | 2014-07-30 14:08:15 +0900 | [diff] [blame] | 68 | |
| 69 | config SANDBOX |
| 70 | bool "Sandbox" |
Masahiro Yamada | 9e4af83 | 2015-03-19 19:42:51 +0900 | [diff] [blame] | 71 | select HAVE_GENERIC_BOARD |
Masahiro Yamada | 57a11eb | 2015-03-19 19:42:52 +0900 | [diff] [blame] | 72 | select SYS_GENERIC_BOARD |
Masahiro Yamada | 9fadbc8 | 2014-09-22 19:59:05 +0900 | [diff] [blame] | 73 | select SUPPORT_OF_CONTROL |
Masahiro Yamada | 5ef5ccc | 2015-03-31 12:47:53 +0900 | [diff] [blame] | 74 | select DM |
| 75 | select DM_SPI_FLASH |
| 76 | select DM_SERIAL |
| 77 | select DM_I2C |
| 78 | select DM_SPI |
| 79 | select DM_GPIO |
Masahiro Yamada | 804bc5e | 2014-07-30 14:08:15 +0900 | [diff] [blame] | 80 | |
| 81 | config SH |
| 82 | bool "SuperH architecture" |
Masahiro Yamada | 9520b71 | 2014-10-24 01:30:43 +0900 | [diff] [blame] | 83 | select HAVE_PRIVATE_LIBGCC |
Masahiro Yamada | 804bc5e | 2014-07-30 14:08:15 +0900 | [diff] [blame] | 84 | |
| 85 | config SPARC |
| 86 | bool "SPARC architecture" |
| 87 | |
| 88 | config X86 |
| 89 | bool "x86 architecture" |
Masahiro Yamada | 9520b71 | 2014-10-24 01:30:43 +0900 | [diff] [blame] | 90 | select HAVE_PRIVATE_LIBGCC |
Masahiro Yamada | 9e4af83 | 2015-03-19 19:42:51 +0900 | [diff] [blame] | 91 | select HAVE_GENERIC_BOARD |
Masahiro Yamada | 57a11eb | 2015-03-19 19:42:52 +0900 | [diff] [blame] | 92 | select SYS_GENERIC_BOARD |
Masahiro Yamada | 9fadbc8 | 2014-09-22 19:59:05 +0900 | [diff] [blame] | 93 | select SUPPORT_OF_CONTROL |
Masahiro Yamada | 5ef5ccc | 2015-03-31 12:47:53 +0900 | [diff] [blame] | 94 | select DM |
| 95 | select DM_SERIAL |
| 96 | select DM_GPIO |
Bin Meng | 8dbe081 | 2015-04-27 23:22:27 +0800 | [diff] [blame] | 97 | select DM_SPI |
| 98 | select DM_SPI_FLASH |
Masahiro Yamada | 804bc5e | 2014-07-30 14:08:15 +0900 | [diff] [blame] | 99 | |
| 100 | endchoice |
| 101 | |
Masahiro Yamada | 52a5f97 | 2014-09-14 03:01:48 +0900 | [diff] [blame] | 102 | config SYS_ARCH |
| 103 | string |
| 104 | help |
| 105 | This option should contain the architecture name to build the |
| 106 | appropriate arch/<CONFIG_SYS_ARCH> directory. |
| 107 | All the architectures should specify this option correctly. |
| 108 | |
| 109 | config SYS_CPU |
| 110 | string |
| 111 | help |
| 112 | This option should contain the CPU name to build the correct |
| 113 | arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory. |
| 114 | |
| 115 | This is optional. For those targets without the CPU directory, |
| 116 | leave this option empty. |
| 117 | |
| 118 | config SYS_SOC |
| 119 | string |
| 120 | help |
| 121 | This option should contain the SoC name to build the directory |
| 122 | arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>. |
| 123 | |
| 124 | This is optional. For those targets without the SoC directory, |
| 125 | leave this option empty. |
| 126 | |
| 127 | config SYS_VENDOR |
| 128 | string |
| 129 | help |
| 130 | This option should contain the vendor name of the target board. |
| 131 | If it is set and |
| 132 | board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common |
| 133 | directory is compiled. |
| 134 | If CONFIG_SYS_BOARD is also set, the sources under |
| 135 | board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled. |
| 136 | |
| 137 | This is optional. For those targets without the vendor directory, |
| 138 | leave this option empty. |
| 139 | |
| 140 | config SYS_BOARD |
| 141 | string |
| 142 | help |
| 143 | This option should contain the name of the target board. |
| 144 | If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> |
| 145 | or board/<CONFIG_SYS_BOARD> directory is compiled depending on |
| 146 | whether CONFIG_SYS_VENDOR is set or not. |
| 147 | |
| 148 | This is optional. For those targets without the board directory, |
| 149 | leave this option empty. |
| 150 | |
| 151 | config SYS_CONFIG_NAME |
| 152 | string |
| 153 | help |
| 154 | This option should contain the base name of board header file. |
| 155 | The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h |
| 156 | should be included from include/config.h. |
| 157 | |
Masahiro Yamada | 804bc5e | 2014-07-30 14:08:15 +0900 | [diff] [blame] | 158 | source "arch/arc/Kconfig" |
| 159 | source "arch/arm/Kconfig" |
| 160 | source "arch/avr32/Kconfig" |
| 161 | source "arch/blackfin/Kconfig" |
| 162 | source "arch/m68k/Kconfig" |
| 163 | source "arch/microblaze/Kconfig" |
| 164 | source "arch/mips/Kconfig" |
| 165 | source "arch/nds32/Kconfig" |
| 166 | source "arch/nios2/Kconfig" |
| 167 | source "arch/openrisc/Kconfig" |
| 168 | source "arch/powerpc/Kconfig" |
| 169 | source "arch/sandbox/Kconfig" |
| 170 | source "arch/sh/Kconfig" |
| 171 | source "arch/sparc/Kconfig" |
| 172 | source "arch/x86/Kconfig" |