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