xref: /openbmc/u-boot/arch/Kconfig (revision 6463fd8f952df9e4bb448f0aff5d16873f8dfdb2)
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"
43*6463fd8fSangelo@sysam.it	select HAVE_PRIVATE_LIBGCC
440a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
450a9e7ee5SMasahiro Yamada	select SYS_GENERIC_BOARD
4651631259SMasahiro Yamada
4751631259SMasahiro Yamadaconfig MICROBLAZE
4851631259SMasahiro Yamada	bool "MicroBlaze architecture"
490a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
500a9e7ee5SMasahiro Yamada	select SYS_GENERIC_BOARD
51783e6a72SMasahiro Yamada	select SUPPORT_OF_CONTROL
5251631259SMasahiro Yamada
5351631259SMasahiro Yamadaconfig MIPS
5451631259SMasahiro Yamada	bool "MIPS architecture"
5545ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
560a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
570a9e7ee5SMasahiro Yamada	select SYS_GENERIC_BOARD
5851631259SMasahiro Yamada
5951631259SMasahiro Yamadaconfig NDS32
6051631259SMasahiro Yamada	bool "NDS32 architecture"
612e88bb28SKun-Hua Huang	select HAVE_GENERIC_BOARD
622e88bb28SKun-Hua Huang	select SYS_GENERIC_BOARD
6351631259SMasahiro Yamada
6451631259SMasahiro Yamadaconfig NIOS2
6551631259SMasahiro Yamada	bool "Nios II architecture"
660a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
670a9e7ee5SMasahiro Yamada	select SYS_GENERIC_BOARD
68a03377b6SThomas Chou	select SUPPORT_OF_CONTROL
69bcae80e9SThomas Chou	select OF_CONTROL
70bcae80e9SThomas Chou	select DM
71bcae80e9SThomas Chou	select CPU
7251631259SMasahiro Yamada
7351631259SMasahiro Yamadaconfig OPENRISC
7451631259SMasahiro Yamada	bool "OpenRISC architecture"
7551631259SMasahiro Yamada
7651631259SMasahiro Yamadaconfig PPC
7751631259SMasahiro Yamada	bool "PowerPC architecture"
7845ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
790a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
8009f3ca3dSMasahiro Yamada	select SYS_GENERIC_BOARD
81c1c61573SSimon Glass	select SUPPORT_OF_CONTROL
8251631259SMasahiro Yamada
8351631259SMasahiro Yamadaconfig SANDBOX
8451631259SMasahiro Yamada	bool "Sandbox"
850a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
860a9e7ee5SMasahiro Yamada	select SYS_GENERIC_BOARD
87783e6a72SMasahiro Yamada	select SUPPORT_OF_CONTROL
8858d423b8SMasahiro Yamada	select DM
8958d423b8SMasahiro Yamada	select DM_SPI_FLASH
9058d423b8SMasahiro Yamada	select DM_SERIAL
9158d423b8SMasahiro Yamada	select DM_I2C
9258d423b8SMasahiro Yamada	select DM_SPI
9358d423b8SMasahiro Yamada	select DM_GPIO
9451631259SMasahiro Yamada
9551631259SMasahiro Yamadaconfig SH
9651631259SMasahiro Yamada	bool "SuperH architecture"
9745ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
9851631259SMasahiro Yamada
9951631259SMasahiro Yamadaconfig SPARC
10051631259SMasahiro Yamada	bool "SPARC architecture"
101e17c5200SFrancois Retief	select HAVE_GENERIC_BOARD
102a350c6a6SMasahiro Yamada	select CREATE_ARCH_SYMLINK
10351631259SMasahiro Yamada
10451631259SMasahiro Yamadaconfig X86
10551631259SMasahiro Yamada	bool "x86 architecture"
106a350c6a6SMasahiro Yamada	select CREATE_ARCH_SYMLINK
10745ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
1080a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
1090a9e7ee5SMasahiro Yamada	select SYS_GENERIC_BOARD
110783e6a72SMasahiro Yamada	select SUPPORT_OF_CONTROL
11158d423b8SMasahiro Yamada	select DM
11258d423b8SMasahiro Yamada	select DM_SERIAL
11358d423b8SMasahiro Yamada	select DM_GPIO
1143e452227SBin Meng	select DM_SPI
1153e452227SBin Meng	select DM_SPI_FLASH
11651631259SMasahiro Yamada
11751631259SMasahiro Yamadaendchoice
11851631259SMasahiro Yamada
1193174e4e8SMasahiro Yamadaconfig SYS_ARCH
1203174e4e8SMasahiro Yamada	string
1213174e4e8SMasahiro Yamada	help
1223174e4e8SMasahiro Yamada	  This option should contain the architecture name to build the
1233174e4e8SMasahiro Yamada	  appropriate arch/<CONFIG_SYS_ARCH> directory.
1243174e4e8SMasahiro Yamada	  All the architectures should specify this option correctly.
1253174e4e8SMasahiro Yamada
1263174e4e8SMasahiro Yamadaconfig SYS_CPU
1273174e4e8SMasahiro Yamada	string
1283174e4e8SMasahiro Yamada	help
1293174e4e8SMasahiro Yamada	  This option should contain the CPU name to build the correct
1303174e4e8SMasahiro Yamada	  arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
1313174e4e8SMasahiro Yamada
1323174e4e8SMasahiro Yamada	  This is optional.  For those targets without the CPU directory,
1333174e4e8SMasahiro Yamada	  leave this option empty.
1343174e4e8SMasahiro Yamada
1353174e4e8SMasahiro Yamadaconfig SYS_SOC
1363174e4e8SMasahiro Yamada	string
1373174e4e8SMasahiro Yamada	help
1383174e4e8SMasahiro Yamada	  This option should contain the SoC name to build the directory
1393174e4e8SMasahiro Yamada	  arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
1403174e4e8SMasahiro Yamada
1413174e4e8SMasahiro Yamada	  This is optional.  For those targets without the SoC directory,
1423174e4e8SMasahiro Yamada	  leave this option empty.
1433174e4e8SMasahiro Yamada
1443174e4e8SMasahiro Yamadaconfig SYS_VENDOR
1453174e4e8SMasahiro Yamada	string
1463174e4e8SMasahiro Yamada	help
1473174e4e8SMasahiro Yamada	  This option should contain the vendor name of the target board.
1483174e4e8SMasahiro Yamada	  If it is set and
1493174e4e8SMasahiro Yamada	  board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
1503174e4e8SMasahiro Yamada	  directory is compiled.
1513174e4e8SMasahiro Yamada	  If CONFIG_SYS_BOARD is also set, the sources under
1523174e4e8SMasahiro Yamada	  board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
1533174e4e8SMasahiro Yamada
1543174e4e8SMasahiro Yamada	  This is optional.  For those targets without the vendor directory,
1553174e4e8SMasahiro Yamada	  leave this option empty.
1563174e4e8SMasahiro Yamada
1573174e4e8SMasahiro Yamadaconfig SYS_BOARD
1583174e4e8SMasahiro Yamada	string
1593174e4e8SMasahiro Yamada	help
1603174e4e8SMasahiro Yamada	  This option should contain the name of the target board.
1613174e4e8SMasahiro Yamada	  If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
1623174e4e8SMasahiro Yamada	  or board/<CONFIG_SYS_BOARD> directory is compiled depending on
1633174e4e8SMasahiro Yamada	  whether CONFIG_SYS_VENDOR is set or not.
1643174e4e8SMasahiro Yamada
1653174e4e8SMasahiro Yamada	  This is optional.  For those targets without the board directory,
1663174e4e8SMasahiro Yamada	  leave this option empty.
1673174e4e8SMasahiro Yamada
1683174e4e8SMasahiro Yamadaconfig SYS_CONFIG_NAME
1693174e4e8SMasahiro Yamada	string
1703174e4e8SMasahiro Yamada	help
1713174e4e8SMasahiro Yamada	  This option should contain the base name of board header file.
1723174e4e8SMasahiro Yamada	  The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
1733174e4e8SMasahiro Yamada	  should be included from include/config.h.
1743174e4e8SMasahiro Yamada
17551631259SMasahiro Yamadasource "arch/arc/Kconfig"
17651631259SMasahiro Yamadasource "arch/arm/Kconfig"
17751631259SMasahiro Yamadasource "arch/avr32/Kconfig"
17851631259SMasahiro Yamadasource "arch/blackfin/Kconfig"
17951631259SMasahiro Yamadasource "arch/m68k/Kconfig"
18051631259SMasahiro Yamadasource "arch/microblaze/Kconfig"
18151631259SMasahiro Yamadasource "arch/mips/Kconfig"
18251631259SMasahiro Yamadasource "arch/nds32/Kconfig"
18351631259SMasahiro Yamadasource "arch/nios2/Kconfig"
18451631259SMasahiro Yamadasource "arch/openrisc/Kconfig"
18551631259SMasahiro Yamadasource "arch/powerpc/Kconfig"
18651631259SMasahiro Yamadasource "arch/sandbox/Kconfig"
18751631259SMasahiro Yamadasource "arch/sh/Kconfig"
18851631259SMasahiro Yamadasource "arch/sparc/Kconfig"
18951631259SMasahiro Yamadasource "arch/x86/Kconfig"
190