xref: /rk3399_rockchip-uboot/arch/Kconfig (revision 2e88bb28d8061286d2f1cabcac224df15b941b82)
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
27783e6a72SMasahiro Yamada	select SUPPORT_OF_CONTROL
2851631259SMasahiro Yamada
2951631259SMasahiro Yamadaconfig AVR32
3051631259SMasahiro Yamada	bool "AVR32 architecture"
31a350c6a6SMasahiro Yamada	select CREATE_ARCH_SYMLINK
320a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
332ce6ecacSMasahiro Yamada	select SYS_GENERIC_BOARD
3451631259SMasahiro Yamada
3551631259SMasahiro Yamadaconfig BLACKFIN
3651631259SMasahiro Yamada	bool "Blackfin architecture"
370a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
380a9e7ee5SMasahiro Yamada	select SYS_GENERIC_BOARD
3951631259SMasahiro Yamada
4051631259SMasahiro Yamadaconfig M68K
4151631259SMasahiro Yamada	bool "M68000 architecture"
420a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
430a9e7ee5SMasahiro Yamada	select SYS_GENERIC_BOARD
4451631259SMasahiro Yamada
4551631259SMasahiro Yamadaconfig MICROBLAZE
4651631259SMasahiro Yamada	bool "MicroBlaze architecture"
470a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
480a9e7ee5SMasahiro Yamada	select SYS_GENERIC_BOARD
49783e6a72SMasahiro Yamada	select SUPPORT_OF_CONTROL
5051631259SMasahiro Yamada
5151631259SMasahiro Yamadaconfig MIPS
5251631259SMasahiro Yamada	bool "MIPS architecture"
5345ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
540a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
550a9e7ee5SMasahiro Yamada	select SYS_GENERIC_BOARD
5651631259SMasahiro Yamada
5751631259SMasahiro Yamadaconfig NDS32
5851631259SMasahiro Yamada	bool "NDS32 architecture"
59*2e88bb28SKun-Hua Huang	select HAVE_GENERIC_BOARD
60*2e88bb28SKun-Hua Huang	select SYS_GENERIC_BOARD
6151631259SMasahiro Yamada
6251631259SMasahiro Yamadaconfig NIOS2
6351631259SMasahiro Yamada	bool "Nios II architecture"
640a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
650a9e7ee5SMasahiro Yamada	select SYS_GENERIC_BOARD
6651631259SMasahiro Yamada
6751631259SMasahiro Yamadaconfig OPENRISC
6851631259SMasahiro Yamada	bool "OpenRISC architecture"
6951631259SMasahiro Yamada
7051631259SMasahiro Yamadaconfig PPC
7151631259SMasahiro Yamada	bool "PowerPC architecture"
7245ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
730a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
74c1c61573SSimon Glass	select SUPPORT_OF_CONTROL
7551631259SMasahiro Yamada
7651631259SMasahiro Yamadaconfig SANDBOX
7751631259SMasahiro Yamada	bool "Sandbox"
780a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
790a9e7ee5SMasahiro Yamada	select SYS_GENERIC_BOARD
80783e6a72SMasahiro Yamada	select SUPPORT_OF_CONTROL
8158d423b8SMasahiro Yamada	select DM
8258d423b8SMasahiro Yamada	select DM_SPI_FLASH
8358d423b8SMasahiro Yamada	select DM_SERIAL
8458d423b8SMasahiro Yamada	select DM_I2C
8558d423b8SMasahiro Yamada	select DM_SPI
8658d423b8SMasahiro Yamada	select DM_GPIO
8751631259SMasahiro Yamada
8851631259SMasahiro Yamadaconfig SH
8951631259SMasahiro Yamada	bool "SuperH architecture"
9045ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
9151631259SMasahiro Yamada
9251631259SMasahiro Yamadaconfig SPARC
9351631259SMasahiro Yamada	bool "SPARC architecture"
94a350c6a6SMasahiro Yamada	select CREATE_ARCH_SYMLINK
9551631259SMasahiro Yamada
9651631259SMasahiro Yamadaconfig X86
9751631259SMasahiro Yamada	bool "x86 architecture"
98a350c6a6SMasahiro Yamada	select CREATE_ARCH_SYMLINK
9945ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
1000a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
1010a9e7ee5SMasahiro Yamada	select SYS_GENERIC_BOARD
102783e6a72SMasahiro Yamada	select SUPPORT_OF_CONTROL
10358d423b8SMasahiro Yamada	select DM
10458d423b8SMasahiro Yamada	select DM_SERIAL
10558d423b8SMasahiro Yamada	select DM_GPIO
1063e452227SBin Meng	select DM_SPI
1073e452227SBin Meng	select DM_SPI_FLASH
10851631259SMasahiro Yamada
10951631259SMasahiro Yamadaendchoice
11051631259SMasahiro Yamada
1113174e4e8SMasahiro Yamadaconfig SYS_ARCH
1123174e4e8SMasahiro Yamada	string
1133174e4e8SMasahiro Yamada	help
1143174e4e8SMasahiro Yamada	  This option should contain the architecture name to build the
1153174e4e8SMasahiro Yamada	  appropriate arch/<CONFIG_SYS_ARCH> directory.
1163174e4e8SMasahiro Yamada	  All the architectures should specify this option correctly.
1173174e4e8SMasahiro Yamada
1183174e4e8SMasahiro Yamadaconfig SYS_CPU
1193174e4e8SMasahiro Yamada	string
1203174e4e8SMasahiro Yamada	help
1213174e4e8SMasahiro Yamada	  This option should contain the CPU name to build the correct
1223174e4e8SMasahiro Yamada	  arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
1233174e4e8SMasahiro Yamada
1243174e4e8SMasahiro Yamada	  This is optional.  For those targets without the CPU directory,
1253174e4e8SMasahiro Yamada	  leave this option empty.
1263174e4e8SMasahiro Yamada
1273174e4e8SMasahiro Yamadaconfig SYS_SOC
1283174e4e8SMasahiro Yamada	string
1293174e4e8SMasahiro Yamada	help
1303174e4e8SMasahiro Yamada	  This option should contain the SoC name to build the directory
1313174e4e8SMasahiro Yamada	  arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
1323174e4e8SMasahiro Yamada
1333174e4e8SMasahiro Yamada	  This is optional.  For those targets without the SoC directory,
1343174e4e8SMasahiro Yamada	  leave this option empty.
1353174e4e8SMasahiro Yamada
1363174e4e8SMasahiro Yamadaconfig SYS_VENDOR
1373174e4e8SMasahiro Yamada	string
1383174e4e8SMasahiro Yamada	help
1393174e4e8SMasahiro Yamada	  This option should contain the vendor name of the target board.
1403174e4e8SMasahiro Yamada	  If it is set and
1413174e4e8SMasahiro Yamada	  board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
1423174e4e8SMasahiro Yamada	  directory is compiled.
1433174e4e8SMasahiro Yamada	  If CONFIG_SYS_BOARD is also set, the sources under
1443174e4e8SMasahiro Yamada	  board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
1453174e4e8SMasahiro Yamada
1463174e4e8SMasahiro Yamada	  This is optional.  For those targets without the vendor directory,
1473174e4e8SMasahiro Yamada	  leave this option empty.
1483174e4e8SMasahiro Yamada
1493174e4e8SMasahiro Yamadaconfig SYS_BOARD
1503174e4e8SMasahiro Yamada	string
1513174e4e8SMasahiro Yamada	help
1523174e4e8SMasahiro Yamada	  This option should contain the name of the target board.
1533174e4e8SMasahiro Yamada	  If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
1543174e4e8SMasahiro Yamada	  or board/<CONFIG_SYS_BOARD> directory is compiled depending on
1553174e4e8SMasahiro Yamada	  whether CONFIG_SYS_VENDOR is set or not.
1563174e4e8SMasahiro Yamada
1573174e4e8SMasahiro Yamada	  This is optional.  For those targets without the board directory,
1583174e4e8SMasahiro Yamada	  leave this option empty.
1593174e4e8SMasahiro Yamada
1603174e4e8SMasahiro Yamadaconfig SYS_CONFIG_NAME
1613174e4e8SMasahiro Yamada	string
1623174e4e8SMasahiro Yamada	help
1633174e4e8SMasahiro Yamada	  This option should contain the base name of board header file.
1643174e4e8SMasahiro Yamada	  The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
1653174e4e8SMasahiro Yamada	  should be included from include/config.h.
1663174e4e8SMasahiro Yamada
16751631259SMasahiro Yamadasource "arch/arc/Kconfig"
16851631259SMasahiro Yamadasource "arch/arm/Kconfig"
16951631259SMasahiro Yamadasource "arch/avr32/Kconfig"
17051631259SMasahiro Yamadasource "arch/blackfin/Kconfig"
17151631259SMasahiro Yamadasource "arch/m68k/Kconfig"
17251631259SMasahiro Yamadasource "arch/microblaze/Kconfig"
17351631259SMasahiro Yamadasource "arch/mips/Kconfig"
17451631259SMasahiro Yamadasource "arch/nds32/Kconfig"
17551631259SMasahiro Yamadasource "arch/nios2/Kconfig"
17651631259SMasahiro Yamadasource "arch/openrisc/Kconfig"
17751631259SMasahiro Yamadasource "arch/powerpc/Kconfig"
17851631259SMasahiro Yamadasource "arch/sandbox/Kconfig"
17951631259SMasahiro Yamadasource "arch/sh/Kconfig"
18051631259SMasahiro Yamadasource "arch/sparc/Kconfig"
18151631259SMasahiro Yamadasource "arch/x86/Kconfig"
182