xref: /openbmc/u-boot/arch/Kconfig (revision 9a46bd3febd405e2d4b894d9ebae2e9ca88b22d6)
1a350c6a6SMasahiro Yamadaconfig CREATE_ARCH_SYMLINK
2a350c6a6SMasahiro Yamada	bool
3a350c6a6SMasahiro Yamada
451631259SMasahiro Yamadachoice
551631259SMasahiro Yamada	prompt "Architecture select"
651631259SMasahiro Yamada	default SANDBOX
751631259SMasahiro Yamada
851631259SMasahiro Yamadaconfig ARC
951631259SMasahiro Yamada	bool "ARC architecture"
10a67ef280SAlexey Brodkin	select HAVE_PRIVATE_LIBGCC
1101496c4fSAlexey Brodkin	select SUPPORT_OF_CONTROL
1251631259SMasahiro Yamada
1351631259SMasahiro Yamadaconfig ARM
1451631259SMasahiro Yamada	bool "ARM architecture"
15a350c6a6SMasahiro Yamada	select CREATE_ARCH_SYMLINK
1664b77ed2SMasahiro Yamada	select HAVE_PRIVATE_LIBGCC if !ARM64
17783e6a72SMasahiro Yamada	select SUPPORT_OF_CONTROL
1851631259SMasahiro Yamada
1951631259SMasahiro Yamadaconfig AVR32
2051631259SMasahiro Yamada	bool "AVR32 architecture"
21a350c6a6SMasahiro Yamada	select CREATE_ARCH_SYMLINK
2251631259SMasahiro Yamada
2351631259SMasahiro Yamadaconfig BLACKFIN
2451631259SMasahiro Yamada	bool "Blackfin architecture"
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
3351631259SMasahiro Yamada
3451631259SMasahiro Yamadaconfig MIPS
3551631259SMasahiro Yamada	bool "MIPS architecture"
3645ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
370fc13a90SDaniel Schwierzeck	select SUPPORT_OF_CONTROL
3851631259SMasahiro Yamada
3951631259SMasahiro Yamadaconfig NDS32
4051631259SMasahiro Yamada	bool "NDS32 architecture"
4151631259SMasahiro Yamada
4251631259SMasahiro Yamadaconfig NIOS2
4351631259SMasahiro Yamada	bool "Nios II architecture"
44a03377b6SThomas Chou	select SUPPORT_OF_CONTROL
45bcae80e9SThomas Chou	select OF_CONTROL
46bcae80e9SThomas Chou	select DM
47bcae80e9SThomas Chou	select CPU
4851631259SMasahiro Yamada
4951631259SMasahiro Yamadaconfig OPENRISC
5051631259SMasahiro Yamada	bool "OpenRISC architecture"
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"
59783e6a72SMasahiro Yamada	select SUPPORT_OF_CONTROL
6058d423b8SMasahiro Yamada	select DM
6158d423b8SMasahiro Yamada	select DM_SPI_FLASH
6258d423b8SMasahiro Yamada	select DM_SERIAL
6358d423b8SMasahiro Yamada	select DM_I2C
6458d423b8SMasahiro Yamada	select DM_SPI
6558d423b8SMasahiro Yamada	select DM_GPIO
66*9a46bd3fSSimon Glass	select DM_MMC
6751631259SMasahiro Yamada
6851631259SMasahiro Yamadaconfig SH
6951631259SMasahiro Yamada	bool "SuperH architecture"
7045ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
7151631259SMasahiro Yamada
7251631259SMasahiro Yamadaconfig SPARC
7351631259SMasahiro Yamada	bool "SPARC architecture"
74a350c6a6SMasahiro Yamada	select CREATE_ARCH_SYMLINK
7551631259SMasahiro Yamada
7651631259SMasahiro Yamadaconfig X86
7751631259SMasahiro Yamada	bool "x86 architecture"
78a350c6a6SMasahiro Yamada	select CREATE_ARCH_SYMLINK
7945ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
80783e6a72SMasahiro Yamada	select SUPPORT_OF_CONTROL
8158d423b8SMasahiro Yamada	select DM
8258d423b8SMasahiro Yamada	select DM_SERIAL
8358d423b8SMasahiro Yamada	select DM_GPIO
843e452227SBin Meng	select DM_SPI
853e452227SBin Meng	select DM_SPI_FLASH
8651631259SMasahiro Yamada
8751631259SMasahiro Yamadaendchoice
8851631259SMasahiro Yamada
893174e4e8SMasahiro Yamadaconfig SYS_ARCH
903174e4e8SMasahiro Yamada	string
913174e4e8SMasahiro Yamada	help
923174e4e8SMasahiro Yamada	  This option should contain the architecture name to build the
933174e4e8SMasahiro Yamada	  appropriate arch/<CONFIG_SYS_ARCH> directory.
943174e4e8SMasahiro Yamada	  All the architectures should specify this option correctly.
953174e4e8SMasahiro Yamada
963174e4e8SMasahiro Yamadaconfig SYS_CPU
973174e4e8SMasahiro Yamada	string
983174e4e8SMasahiro Yamada	help
993174e4e8SMasahiro Yamada	  This option should contain the CPU name to build the correct
1003174e4e8SMasahiro Yamada	  arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
1013174e4e8SMasahiro Yamada
1023174e4e8SMasahiro Yamada	  This is optional.  For those targets without the CPU directory,
1033174e4e8SMasahiro Yamada	  leave this option empty.
1043174e4e8SMasahiro Yamada
1053174e4e8SMasahiro Yamadaconfig SYS_SOC
1063174e4e8SMasahiro Yamada	string
1073174e4e8SMasahiro Yamada	help
1083174e4e8SMasahiro Yamada	  This option should contain the SoC name to build the directory
1093174e4e8SMasahiro Yamada	  arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
1103174e4e8SMasahiro Yamada
1113174e4e8SMasahiro Yamada	  This is optional.  For those targets without the SoC directory,
1123174e4e8SMasahiro Yamada	  leave this option empty.
1133174e4e8SMasahiro Yamada
1143174e4e8SMasahiro Yamadaconfig SYS_VENDOR
1153174e4e8SMasahiro Yamada	string
1163174e4e8SMasahiro Yamada	help
1173174e4e8SMasahiro Yamada	  This option should contain the vendor name of the target board.
1183174e4e8SMasahiro Yamada	  If it is set and
1193174e4e8SMasahiro Yamada	  board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
1203174e4e8SMasahiro Yamada	  directory is compiled.
1213174e4e8SMasahiro Yamada	  If CONFIG_SYS_BOARD is also set, the sources under
1223174e4e8SMasahiro Yamada	  board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
1233174e4e8SMasahiro Yamada
1243174e4e8SMasahiro Yamada	  This is optional.  For those targets without the vendor directory,
1253174e4e8SMasahiro Yamada	  leave this option empty.
1263174e4e8SMasahiro Yamada
1273174e4e8SMasahiro Yamadaconfig SYS_BOARD
1283174e4e8SMasahiro Yamada	string
1293174e4e8SMasahiro Yamada	help
1303174e4e8SMasahiro Yamada	  This option should contain the name of the target board.
1313174e4e8SMasahiro Yamada	  If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
1323174e4e8SMasahiro Yamada	  or board/<CONFIG_SYS_BOARD> directory is compiled depending on
1333174e4e8SMasahiro Yamada	  whether CONFIG_SYS_VENDOR is set or not.
1343174e4e8SMasahiro Yamada
1353174e4e8SMasahiro Yamada	  This is optional.  For those targets without the board directory,
1363174e4e8SMasahiro Yamada	  leave this option empty.
1373174e4e8SMasahiro Yamada
1383174e4e8SMasahiro Yamadaconfig SYS_CONFIG_NAME
1393174e4e8SMasahiro Yamada	string
1403174e4e8SMasahiro Yamada	help
1413174e4e8SMasahiro Yamada	  This option should contain the base name of board header file.
1423174e4e8SMasahiro Yamada	  The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
1433174e4e8SMasahiro Yamada	  should be included from include/config.h.
1443174e4e8SMasahiro Yamada
14551631259SMasahiro Yamadasource "arch/arc/Kconfig"
14651631259SMasahiro Yamadasource "arch/arm/Kconfig"
14751631259SMasahiro Yamadasource "arch/avr32/Kconfig"
14851631259SMasahiro Yamadasource "arch/blackfin/Kconfig"
14951631259SMasahiro Yamadasource "arch/m68k/Kconfig"
15051631259SMasahiro Yamadasource "arch/microblaze/Kconfig"
15151631259SMasahiro Yamadasource "arch/mips/Kconfig"
15251631259SMasahiro Yamadasource "arch/nds32/Kconfig"
15351631259SMasahiro Yamadasource "arch/nios2/Kconfig"
15451631259SMasahiro Yamadasource "arch/openrisc/Kconfig"
15551631259SMasahiro Yamadasource "arch/powerpc/Kconfig"
15651631259SMasahiro Yamadasource "arch/sandbox/Kconfig"
15751631259SMasahiro Yamadasource "arch/sh/Kconfig"
15851631259SMasahiro Yamadasource "arch/sparc/Kconfig"
15951631259SMasahiro Yamadasource "arch/x86/Kconfig"
160