Home | History | Annotate | Download | only in arch
      1 config CREATE_ARCH_SYMLINK
      2 	bool
      3 
      4 config HAVE_ARCH_IOREMAP
      5 	bool
      6 
      7 choice
      8 	prompt "Architecture select"
      9 	default SANDBOX
     10 
     11 config ARC
     12 	bool "ARC architecture"
     13 	select HAVE_PRIVATE_LIBGCC
     14 	select SUPPORT_OF_CONTROL
     15 	select ARCH_EARLY_INIT_R
     16 	select CLK
     17 	select TIMER
     18 	select ARC_TIMER
     19 
     20 config ARM
     21 	bool "ARM architecture"
     22 	select CREATE_ARCH_SYMLINK
     23 	select HAVE_PRIVATE_LIBGCC if !ARM64
     24 	select SUPPORT_OF_CONTROL
     25 
     26 config M68K
     27 	bool "M68000 architecture"
     28 	select HAVE_PRIVATE_LIBGCC
     29 	select SYS_BOOT_GET_CMDLINE
     30 	select SYS_BOOT_GET_KBD
     31 
     32 config MICROBLAZE
     33 	bool "MicroBlaze architecture"
     34 	select SUPPORT_OF_CONTROL
     35 	imply CMD_IRQ
     36 
     37 config MIPS
     38 	bool "MIPS architecture"
     39 	select HAVE_ARCH_IOREMAP
     40 	select HAVE_PRIVATE_LIBGCC
     41 	select SUPPORT_OF_CONTROL
     42 
     43 config NDS32
     44 	bool "NDS32 architecture"
     45 	select SUPPORT_OF_CONTROL
     46 
     47 config NIOS2
     48 	bool "Nios II architecture"
     49 	select SUPPORT_OF_CONTROL
     50 	select OF_CONTROL
     51 	select DM
     52 	select CPU
     53 
     54 config PPC
     55 	bool "PowerPC architecture"
     56 	select HAVE_PRIVATE_LIBGCC
     57 	select SUPPORT_OF_CONTROL
     58 	select SYS_BOOT_GET_CMDLINE
     59 	select SYS_BOOT_GET_KBD
     60 
     61 config RISCV
     62 	bool "riscv architecture"
     63 	select SUPPORT_OF_CONTROL
     64 
     65 config SANDBOX
     66 	bool "Sandbox"
     67 	select BOARD_LATE_INIT
     68 	select SUPPORT_OF_CONTROL
     69 	select DM
     70 	select DM_KEYBOARD
     71 	select DM_SPI_FLASH
     72 	select DM_SERIAL
     73 	select DM_I2C
     74 	select DM_SPI
     75 	select DM_GPIO
     76 	select DM_MMC
     77 	select HAVE_BLOCK_DEVICE
     78 	select SPI
     79 	select LZO
     80 	imply CMD_GETTIME
     81 	imply CMD_HASH
     82 	imply CMD_IO
     83 	imply CMD_IOTRACE
     84 	imply CMD_LZMADEC
     85 	imply CRC32_VERIFY
     86 	imply FAT_WRITE
     87 	imply HASH_VERIFY
     88 	imply LZMA
     89 	imply SCSI
     90 	imply CMD_SATA
     91 	imply CMD_SF_TEST
     92 
     93 config SH
     94 	bool "SuperH architecture"
     95 	select HAVE_PRIVATE_LIBGCC
     96 
     97 config X86
     98 	bool "x86 architecture"
     99 	select CREATE_ARCH_SYMLINK
    100 	select HAVE_PRIVATE_LIBGCC
    101 	select USE_PRIVATE_LIBGCC
    102 	select SUPPORT_OF_CONTROL
    103 	select OF_CONTROL
    104 	select DM
    105 	select DM_PCI
    106 	select PCI
    107 	select TIMER
    108 	select X86_TSC_TIMER
    109 	imply BLK
    110 	imply DM_ETH
    111 	imply DM_GPIO
    112 	imply DM_KEYBOARD
    113 	imply DM_MMC
    114 	imply DM_RTC
    115 	imply DM_SERIAL
    116 	imply DM_SCSI
    117 	imply DM_SPI
    118 	imply DM_SPI_FLASH
    119 	imply DM_USB
    120 	imply DM_VIDEO
    121 	imply CMD_FPGA_LOADMK
    122 	imply CMD_GETTIME
    123 	imply CMD_IO
    124 	imply CMD_IRQ
    125 	imply CMD_PCI
    126 	imply CMD_SF_TEST
    127 	imply CMD_ZBOOT
    128 	imply USB_HOST_ETHER
    129 	imply USB_ETHER_ASIX
    130 	imply USB_ETHER_SMSC95XX
    131 
    132 config XTENSA
    133 	bool "Xtensa architecture"
    134 	select CREATE_ARCH_SYMLINK
    135 	select SUPPORT_OF_CONTROL
    136 
    137 endchoice
    138 
    139 config SYS_ARCH
    140 	string
    141 	help
    142 	  This option should contain the architecture name to build the
    143 	  appropriate arch/<CONFIG_SYS_ARCH> directory.
    144 	  All the architectures should specify this option correctly.
    145 
    146 config SYS_CPU
    147 	string
    148 	help
    149 	  This option should contain the CPU name to build the correct
    150 	  arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
    151 
    152 	  This is optional.  For those targets without the CPU directory,
    153 	  leave this option empty.
    154 
    155 config SYS_SOC
    156 	string
    157 	help
    158 	  This option should contain the SoC name to build the directory
    159 	  arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
    160 
    161 	  This is optional.  For those targets without the SoC directory,
    162 	  leave this option empty.
    163 
    164 config SYS_VENDOR
    165 	string
    166 	help
    167 	  This option should contain the vendor name of the target board.
    168 	  If it is set and
    169 	  board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
    170 	  directory is compiled.
    171 	  If CONFIG_SYS_BOARD is also set, the sources under
    172 	  board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
    173 
    174 	  This is optional.  For those targets without the vendor directory,
    175 	  leave this option empty.
    176 
    177 config SYS_BOARD
    178 	string
    179 	help
    180 	  This option should contain the name of the target board.
    181 	  If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
    182 	  or board/<CONFIG_SYS_BOARD> directory is compiled depending on
    183 	  whether CONFIG_SYS_VENDOR is set or not.
    184 
    185 	  This is optional.  For those targets without the board directory,
    186 	  leave this option empty.
    187 
    188 config SYS_CONFIG_NAME
    189 	string
    190 	help
    191 	  This option should contain the base name of board header file.
    192 	  The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
    193 	  should be included from include/config.h.
    194 
    195 source "arch/arc/Kconfig"
    196 source "arch/arm/Kconfig"
    197 source "arch/m68k/Kconfig"
    198 source "arch/microblaze/Kconfig"
    199 source "arch/mips/Kconfig"
    200 source "arch/nds32/Kconfig"
    201 source "arch/nios2/Kconfig"
    202 source "arch/powerpc/Kconfig"
    203 source "arch/sandbox/Kconfig"
    204 source "arch/sh/Kconfig"
    205 source "arch/x86/Kconfig"
    206 source "arch/xtensa/Kconfig"
    207 source "arch/riscv/Kconfig"
    208