xref: /openbmc/u-boot/arch/Kconfig (revision 719d36ee36db92221e86b37edd1f7b922bde4f9d)
1a350c6a6SMasahiro Yamadaconfig CREATE_ARCH_SYMLINK
2a350c6a6SMasahiro Yamada	bool
3a350c6a6SMasahiro Yamada
49a387128SMasahiro Yamadaconfig HAVE_ARCH_IOREMAP
59a387128SMasahiro Yamada	bool
69a387128SMasahiro Yamada
751631259SMasahiro Yamadachoice
851631259SMasahiro Yamada	prompt "Architecture select"
951631259SMasahiro Yamada	default SANDBOX
1051631259SMasahiro Yamada
1151631259SMasahiro Yamadaconfig ARC
1251631259SMasahiro Yamada	bool "ARC architecture"
13a67ef280SAlexey Brodkin	select HAVE_PRIVATE_LIBGCC
1401496c4fSAlexey Brodkin	select SUPPORT_OF_CONTROL
15a421192fSSimon Glass	select ARCH_EARLY_INIT_R
163daa7c7bSVlad Zakharov	select CLK
173daa7c7bSVlad Zakharov	select TIMER
183daa7c7bSVlad Zakharov	select ARC_TIMER
1951631259SMasahiro Yamada
2051631259SMasahiro Yamadaconfig ARM
2151631259SMasahiro Yamada	bool "ARM architecture"
22a350c6a6SMasahiro Yamada	select CREATE_ARCH_SYMLINK
2364b77ed2SMasahiro Yamada	select HAVE_PRIVATE_LIBGCC if !ARM64
24783e6a72SMasahiro Yamada	select SUPPORT_OF_CONTROL
2551631259SMasahiro Yamada
2651631259SMasahiro Yamadaconfig M68K
2751631259SMasahiro Yamada	bool "M68000 architecture"
286463fd8fSangelo@sysam.it	select HAVE_PRIVATE_LIBGCC
2951631259SMasahiro Yamada
3051631259SMasahiro Yamadaconfig MICROBLAZE
3151631259SMasahiro Yamada	bool "MicroBlaze architecture"
32783e6a72SMasahiro Yamada	select SUPPORT_OF_CONTROL
331b330894SSimon Glass	imply CMD_IRQ
3451631259SMasahiro Yamada
3551631259SMasahiro Yamadaconfig MIPS
3651631259SMasahiro Yamada	bool "MIPS architecture"
379a387128SMasahiro Yamada	select HAVE_ARCH_IOREMAP
3845ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
390fc13a90SDaniel Schwierzeck	select SUPPORT_OF_CONTROL
4051631259SMasahiro Yamada
4151631259SMasahiro Yamadaconfig NDS32
4251631259SMasahiro Yamada	bool "NDS32 architecture"
4386132af7Srick	select SUPPORT_OF_CONTROL
4451631259SMasahiro Yamada
4551631259SMasahiro Yamadaconfig NIOS2
4651631259SMasahiro Yamada	bool "Nios II architecture"
47a03377b6SThomas Chou	select SUPPORT_OF_CONTROL
48bcae80e9SThomas Chou	select OF_CONTROL
49bcae80e9SThomas Chou	select DM
50bcae80e9SThomas Chou	select CPU
5151631259SMasahiro Yamada
5251631259SMasahiro Yamadaconfig PPC
5351631259SMasahiro Yamada	bool "PowerPC architecture"
5445ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
55c1c61573SSimon Glass	select SUPPORT_OF_CONTROL
5651631259SMasahiro Yamada
5751631259SMasahiro Yamadaconfig SANDBOX
5851631259SMasahiro Yamada	bool "Sandbox"
59e5ec4815STom Rini	select BOARD_LATE_INIT
60783e6a72SMasahiro Yamada	select SUPPORT_OF_CONTROL
6158d423b8SMasahiro Yamada	select DM
62558e1257SMasahiro Yamada	select DM_KEYBOARD
6358d423b8SMasahiro Yamada	select DM_SPI_FLASH
6458d423b8SMasahiro Yamada	select DM_SERIAL
6558d423b8SMasahiro Yamada	select DM_I2C
6658d423b8SMasahiro Yamada	select DM_SPI
6758d423b8SMasahiro Yamada	select DM_GPIO
689a46bd3fSSimon Glass	select DM_MMC
69d56b4b19STom Rini	select LZO
70ded48cdcSSimon Glass	imply CMD_GETTIME
71551c3934SSimon Glass	imply CMD_HASH
72594e8d1cSSimon Glass	imply CMD_IO
737d0f5c13SSimon Glass	imply CMD_IOTRACE
74ee7c0e71SSimon Glass	imply CMD_LZMADEC
7591d27a17STom Rini	imply CRC32_VERIFY
7691d27a17STom Rini	imply FAT_WRITE
77221a949eSDaniel Thompson	imply HASH_VERIFY
7891d27a17STom Rini	imply LZMA
79fedb428cSSimon Glass	imply SCSI
803bf926c0SSimon Glass	imply CMD_SATA
81*719d36eeSSimon Glass	imply CMD_SF_TEST
8251631259SMasahiro Yamada
8351631259SMasahiro Yamadaconfig SH
8451631259SMasahiro Yamada	bool "SuperH architecture"
8545ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
8651631259SMasahiro Yamada
8751631259SMasahiro Yamadaconfig X86
8851631259SMasahiro Yamada	bool "x86 architecture"
89a350c6a6SMasahiro Yamada	select CREATE_ARCH_SYMLINK
9045ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
91e28497bfSBin Meng	select USE_PRIVATE_LIBGCC
92783e6a72SMasahiro Yamada	select SUPPORT_OF_CONTROL
93263252c7SBin Meng	select OF_CONTROL
9458d423b8SMasahiro Yamada	select DM
956bf89de7SBin Meng	select DM_PCI
964f0faacbSBin Meng	select PCI
970ce9c576SBin Meng	select TIMER
980ce9c576SBin Meng	select X86_TSC_TIMER
9924357dfdSBin Meng	imply BLK
1004f0faacbSBin Meng	imply DM_ETH
1014f0faacbSBin Meng	imply DM_GPIO
1024f0faacbSBin Meng	imply DM_KEYBOARD
103b7c6baefSSimon Glass	imply DM_MMC
1044f0faacbSBin Meng	imply DM_RTC
1054f0faacbSBin Meng	imply DM_SERIAL
10624357dfdSBin Meng	imply DM_SCSI
1074f0faacbSBin Meng	imply DM_SPI
1084f0faacbSBin Meng	imply DM_SPI_FLASH
1094f0faacbSBin Meng	imply DM_USB
1104f0faacbSBin Meng	imply DM_VIDEO
111fe7604a3SSimon Glass	imply CMD_FPGA_LOADMK
112d91a9d7fSSimon Glass	imply CMD_GETTIME
113594e8d1cSSimon Glass	imply CMD_IO
1141b330894SSimon Glass	imply CMD_IRQ
115*719d36eeSSimon Glass	imply CMD_SF_TEST
11651631259SMasahiro Yamada
117c978b524SChris Zankelconfig XTENSA
118c978b524SChris Zankel	bool "Xtensa architecture"
119c978b524SChris Zankel	select CREATE_ARCH_SYMLINK
120c978b524SChris Zankel	select SUPPORT_OF_CONTROL
121c978b524SChris Zankel
12251631259SMasahiro Yamadaendchoice
12351631259SMasahiro Yamada
1243174e4e8SMasahiro Yamadaconfig SYS_ARCH
1253174e4e8SMasahiro Yamada	string
1263174e4e8SMasahiro Yamada	help
1273174e4e8SMasahiro Yamada	  This option should contain the architecture name to build the
1283174e4e8SMasahiro Yamada	  appropriate arch/<CONFIG_SYS_ARCH> directory.
1293174e4e8SMasahiro Yamada	  All the architectures should specify this option correctly.
1303174e4e8SMasahiro Yamada
1313174e4e8SMasahiro Yamadaconfig SYS_CPU
1323174e4e8SMasahiro Yamada	string
1333174e4e8SMasahiro Yamada	help
1343174e4e8SMasahiro Yamada	  This option should contain the CPU name to build the correct
1353174e4e8SMasahiro Yamada	  arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
1363174e4e8SMasahiro Yamada
1373174e4e8SMasahiro Yamada	  This is optional.  For those targets without the CPU directory,
1383174e4e8SMasahiro Yamada	  leave this option empty.
1393174e4e8SMasahiro Yamada
1403174e4e8SMasahiro Yamadaconfig SYS_SOC
1413174e4e8SMasahiro Yamada	string
1423174e4e8SMasahiro Yamada	help
1433174e4e8SMasahiro Yamada	  This option should contain the SoC name to build the directory
1443174e4e8SMasahiro Yamada	  arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
1453174e4e8SMasahiro Yamada
1463174e4e8SMasahiro Yamada	  This is optional.  For those targets without the SoC directory,
1473174e4e8SMasahiro Yamada	  leave this option empty.
1483174e4e8SMasahiro Yamada
1493174e4e8SMasahiro Yamadaconfig SYS_VENDOR
1503174e4e8SMasahiro Yamada	string
1513174e4e8SMasahiro Yamada	help
1523174e4e8SMasahiro Yamada	  This option should contain the vendor name of the target board.
1533174e4e8SMasahiro Yamada	  If it is set and
1543174e4e8SMasahiro Yamada	  board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
1553174e4e8SMasahiro Yamada	  directory is compiled.
1563174e4e8SMasahiro Yamada	  If CONFIG_SYS_BOARD is also set, the sources under
1573174e4e8SMasahiro Yamada	  board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
1583174e4e8SMasahiro Yamada
1593174e4e8SMasahiro Yamada	  This is optional.  For those targets without the vendor directory,
1603174e4e8SMasahiro Yamada	  leave this option empty.
1613174e4e8SMasahiro Yamada
1623174e4e8SMasahiro Yamadaconfig SYS_BOARD
1633174e4e8SMasahiro Yamada	string
1643174e4e8SMasahiro Yamada	help
1653174e4e8SMasahiro Yamada	  This option should contain the name of the target board.
1663174e4e8SMasahiro Yamada	  If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
1673174e4e8SMasahiro Yamada	  or board/<CONFIG_SYS_BOARD> directory is compiled depending on
1683174e4e8SMasahiro Yamada	  whether CONFIG_SYS_VENDOR is set or not.
1693174e4e8SMasahiro Yamada
1703174e4e8SMasahiro Yamada	  This is optional.  For those targets without the board directory,
1713174e4e8SMasahiro Yamada	  leave this option empty.
1723174e4e8SMasahiro Yamada
1733174e4e8SMasahiro Yamadaconfig SYS_CONFIG_NAME
1743174e4e8SMasahiro Yamada	string
1753174e4e8SMasahiro Yamada	help
1763174e4e8SMasahiro Yamada	  This option should contain the base name of board header file.
1773174e4e8SMasahiro Yamada	  The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
1783174e4e8SMasahiro Yamada	  should be included from include/config.h.
1793174e4e8SMasahiro Yamada
18051631259SMasahiro Yamadasource "arch/arc/Kconfig"
18151631259SMasahiro Yamadasource "arch/arm/Kconfig"
18251631259SMasahiro Yamadasource "arch/m68k/Kconfig"
18351631259SMasahiro Yamadasource "arch/microblaze/Kconfig"
18451631259SMasahiro Yamadasource "arch/mips/Kconfig"
18551631259SMasahiro Yamadasource "arch/nds32/Kconfig"
18651631259SMasahiro Yamadasource "arch/nios2/Kconfig"
18751631259SMasahiro Yamadasource "arch/powerpc/Kconfig"
18851631259SMasahiro Yamadasource "arch/sandbox/Kconfig"
18951631259SMasahiro Yamadasource "arch/sh/Kconfig"
19051631259SMasahiro Yamadasource "arch/x86/Kconfig"
191c978b524SChris Zankelsource "arch/xtensa/Kconfig"
192