xref: /openbmc/u-boot/arch/Kconfig (revision e17c5200c7e9a802783a53d4f4457fa68f7fa074)
1a350c6a6SMasahiro Yamadaconfig CREATE_ARCH_SYMLINK
2a350c6a6SMasahiro Yamada	bool
3a350c6a6SMasahiro Yamada
40a12e687SMasahiro Yamadaconfig HAVE_GENERIC_BOARD
50a12e687SMasahiro Yamada	bool
60a12e687SMasahiro Yamada
70a9e7ee5SMasahiro Yamadaconfig SYS_GENERIC_BOARD
80a9e7ee5SMasahiro Yamada	bool
90a9e7ee5SMasahiro Yamada	depends on HAVE_GENERIC_BOARD
100a9e7ee5SMasahiro Yamada
1151631259SMasahiro Yamadachoice
1251631259SMasahiro Yamada	prompt "Architecture select"
1351631259SMasahiro Yamada	default SANDBOX
1451631259SMasahiro Yamada
1551631259SMasahiro Yamadaconfig ARC
1651631259SMasahiro Yamada	bool "ARC architecture"
17a67ef280SAlexey Brodkin	select HAVE_PRIVATE_LIBGCC
180a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
190a9e7ee5SMasahiro Yamada	select SYS_GENERIC_BOARD
2001496c4fSAlexey Brodkin	select SUPPORT_OF_CONTROL
2151631259SMasahiro Yamada
2251631259SMasahiro Yamadaconfig ARM
2351631259SMasahiro Yamada	bool "ARM architecture"
24a350c6a6SMasahiro Yamada	select CREATE_ARCH_SYMLINK
2564b77ed2SMasahiro Yamada	select HAVE_PRIVATE_LIBGCC if !ARM64
260a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
2709f3ca3dSMasahiro Yamada	select SYS_GENERIC_BOARD
28783e6a72SMasahiro Yamada	select SUPPORT_OF_CONTROL
2951631259SMasahiro Yamada
3051631259SMasahiro Yamadaconfig AVR32
3151631259SMasahiro Yamada	bool "AVR32 architecture"
32a350c6a6SMasahiro Yamada	select CREATE_ARCH_SYMLINK
330a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
342ce6ecacSMasahiro Yamada	select SYS_GENERIC_BOARD
3551631259SMasahiro Yamada
3651631259SMasahiro Yamadaconfig BLACKFIN
3751631259SMasahiro Yamada	bool "Blackfin architecture"
380a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
390a9e7ee5SMasahiro Yamada	select SYS_GENERIC_BOARD
4051631259SMasahiro Yamada
4151631259SMasahiro Yamadaconfig M68K
4251631259SMasahiro Yamada	bool "M68000 architecture"
430a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
440a9e7ee5SMasahiro Yamada	select SYS_GENERIC_BOARD
4551631259SMasahiro Yamada
4651631259SMasahiro Yamadaconfig MICROBLAZE
4751631259SMasahiro Yamada	bool "MicroBlaze architecture"
480a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
490a9e7ee5SMasahiro Yamada	select SYS_GENERIC_BOARD
50783e6a72SMasahiro Yamada	select SUPPORT_OF_CONTROL
5151631259SMasahiro Yamada
5251631259SMasahiro Yamadaconfig MIPS
5351631259SMasahiro Yamada	bool "MIPS architecture"
5445ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
550a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
560a9e7ee5SMasahiro Yamada	select SYS_GENERIC_BOARD
5751631259SMasahiro Yamada
5851631259SMasahiro Yamadaconfig NDS32
5951631259SMasahiro Yamada	bool "NDS32 architecture"
602e88bb28SKun-Hua Huang	select HAVE_GENERIC_BOARD
612e88bb28SKun-Hua Huang	select SYS_GENERIC_BOARD
6251631259SMasahiro Yamada
6351631259SMasahiro Yamadaconfig NIOS2
6451631259SMasahiro Yamada	bool "Nios II architecture"
650a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
660a9e7ee5SMasahiro Yamada	select SYS_GENERIC_BOARD
67a03377b6SThomas Chou	select SUPPORT_OF_CONTROL
68bcae80e9SThomas Chou	select OF_CONTROL
69bcae80e9SThomas Chou	select DM
70bcae80e9SThomas Chou	select CPU
7151631259SMasahiro Yamada
7251631259SMasahiro Yamadaconfig OPENRISC
7351631259SMasahiro Yamada	bool "OpenRISC architecture"
7451631259SMasahiro Yamada
7551631259SMasahiro Yamadaconfig PPC
7651631259SMasahiro Yamada	bool "PowerPC architecture"
7745ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
780a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
7909f3ca3dSMasahiro Yamada	select SYS_GENERIC_BOARD
80c1c61573SSimon Glass	select SUPPORT_OF_CONTROL
8151631259SMasahiro Yamada
8251631259SMasahiro Yamadaconfig SANDBOX
8351631259SMasahiro Yamada	bool "Sandbox"
840a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
850a9e7ee5SMasahiro Yamada	select SYS_GENERIC_BOARD
86783e6a72SMasahiro Yamada	select SUPPORT_OF_CONTROL
8758d423b8SMasahiro Yamada	select DM
8858d423b8SMasahiro Yamada	select DM_SPI_FLASH
8958d423b8SMasahiro Yamada	select DM_SERIAL
9058d423b8SMasahiro Yamada	select DM_I2C
9158d423b8SMasahiro Yamada	select DM_SPI
9258d423b8SMasahiro Yamada	select DM_GPIO
9351631259SMasahiro Yamada
9451631259SMasahiro Yamadaconfig SH
9551631259SMasahiro Yamada	bool "SuperH architecture"
9645ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
9751631259SMasahiro Yamada
9851631259SMasahiro Yamadaconfig SPARC
9951631259SMasahiro Yamada	bool "SPARC architecture"
100*e17c5200SFrancois Retief	select HAVE_GENERIC_BOARD
101a350c6a6SMasahiro Yamada	select CREATE_ARCH_SYMLINK
10251631259SMasahiro Yamada
10351631259SMasahiro Yamadaconfig X86
10451631259SMasahiro Yamada	bool "x86 architecture"
105a350c6a6SMasahiro Yamada	select CREATE_ARCH_SYMLINK
10645ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
1070a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
1080a9e7ee5SMasahiro Yamada	select SYS_GENERIC_BOARD
109783e6a72SMasahiro Yamada	select SUPPORT_OF_CONTROL
11058d423b8SMasahiro Yamada	select DM
11158d423b8SMasahiro Yamada	select DM_SERIAL
11258d423b8SMasahiro Yamada	select DM_GPIO
1133e452227SBin Meng	select DM_SPI
1143e452227SBin Meng	select DM_SPI_FLASH
11551631259SMasahiro Yamada
11651631259SMasahiro Yamadaendchoice
11751631259SMasahiro Yamada
1183174e4e8SMasahiro Yamadaconfig SYS_ARCH
1193174e4e8SMasahiro Yamada	string
1203174e4e8SMasahiro Yamada	help
1213174e4e8SMasahiro Yamada	  This option should contain the architecture name to build the
1223174e4e8SMasahiro Yamada	  appropriate arch/<CONFIG_SYS_ARCH> directory.
1233174e4e8SMasahiro Yamada	  All the architectures should specify this option correctly.
1243174e4e8SMasahiro Yamada
1253174e4e8SMasahiro Yamadaconfig SYS_CPU
1263174e4e8SMasahiro Yamada	string
1273174e4e8SMasahiro Yamada	help
1283174e4e8SMasahiro Yamada	  This option should contain the CPU name to build the correct
1293174e4e8SMasahiro Yamada	  arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
1303174e4e8SMasahiro Yamada
1313174e4e8SMasahiro Yamada	  This is optional.  For those targets without the CPU directory,
1323174e4e8SMasahiro Yamada	  leave this option empty.
1333174e4e8SMasahiro Yamada
1343174e4e8SMasahiro Yamadaconfig SYS_SOC
1353174e4e8SMasahiro Yamada	string
1363174e4e8SMasahiro Yamada	help
1373174e4e8SMasahiro Yamada	  This option should contain the SoC name to build the directory
1383174e4e8SMasahiro Yamada	  arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
1393174e4e8SMasahiro Yamada
1403174e4e8SMasahiro Yamada	  This is optional.  For those targets without the SoC directory,
1413174e4e8SMasahiro Yamada	  leave this option empty.
1423174e4e8SMasahiro Yamada
1433174e4e8SMasahiro Yamadaconfig SYS_VENDOR
1443174e4e8SMasahiro Yamada	string
1453174e4e8SMasahiro Yamada	help
1463174e4e8SMasahiro Yamada	  This option should contain the vendor name of the target board.
1473174e4e8SMasahiro Yamada	  If it is set and
1483174e4e8SMasahiro Yamada	  board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
1493174e4e8SMasahiro Yamada	  directory is compiled.
1503174e4e8SMasahiro Yamada	  If CONFIG_SYS_BOARD is also set, the sources under
1513174e4e8SMasahiro Yamada	  board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
1523174e4e8SMasahiro Yamada
1533174e4e8SMasahiro Yamada	  This is optional.  For those targets without the vendor directory,
1543174e4e8SMasahiro Yamada	  leave this option empty.
1553174e4e8SMasahiro Yamada
1563174e4e8SMasahiro Yamadaconfig SYS_BOARD
1573174e4e8SMasahiro Yamada	string
1583174e4e8SMasahiro Yamada	help
1593174e4e8SMasahiro Yamada	  This option should contain the name of the target board.
1603174e4e8SMasahiro Yamada	  If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
1613174e4e8SMasahiro Yamada	  or board/<CONFIG_SYS_BOARD> directory is compiled depending on
1623174e4e8SMasahiro Yamada	  whether CONFIG_SYS_VENDOR is set or not.
1633174e4e8SMasahiro Yamada
1643174e4e8SMasahiro Yamada	  This is optional.  For those targets without the board directory,
1653174e4e8SMasahiro Yamada	  leave this option empty.
1663174e4e8SMasahiro Yamada
1673174e4e8SMasahiro Yamadaconfig SYS_CONFIG_NAME
1683174e4e8SMasahiro Yamada	string
1693174e4e8SMasahiro Yamada	help
1703174e4e8SMasahiro Yamada	  This option should contain the base name of board header file.
1713174e4e8SMasahiro Yamada	  The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
1723174e4e8SMasahiro Yamada	  should be included from include/config.h.
1733174e4e8SMasahiro Yamada
17451631259SMasahiro Yamadasource "arch/arc/Kconfig"
17551631259SMasahiro Yamadasource "arch/arm/Kconfig"
17651631259SMasahiro Yamadasource "arch/avr32/Kconfig"
17751631259SMasahiro Yamadasource "arch/blackfin/Kconfig"
17851631259SMasahiro Yamadasource "arch/m68k/Kconfig"
17951631259SMasahiro Yamadasource "arch/microblaze/Kconfig"
18051631259SMasahiro Yamadasource "arch/mips/Kconfig"
18151631259SMasahiro Yamadasource "arch/nds32/Kconfig"
18251631259SMasahiro Yamadasource "arch/nios2/Kconfig"
18351631259SMasahiro Yamadasource "arch/openrisc/Kconfig"
18451631259SMasahiro Yamadasource "arch/powerpc/Kconfig"
18551631259SMasahiro Yamadasource "arch/sandbox/Kconfig"
18651631259SMasahiro Yamadasource "arch/sh/Kconfig"
18751631259SMasahiro Yamadasource "arch/sparc/Kconfig"
18851631259SMasahiro Yamadasource "arch/x86/Kconfig"
189