xref: /rk3399_rockchip-uboot/arch/Kconfig (revision bcae80e9551bc0ba2d67e78bda57b9283b4bab12)
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"
592e88bb28SKun-Hua Huang	select HAVE_GENERIC_BOARD
602e88bb28SKun-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
66a03377b6SThomas Chou	select SUPPORT_OF_CONTROL
67*bcae80e9SThomas Chou	select OF_CONTROL
68*bcae80e9SThomas Chou	select DM
69*bcae80e9SThomas Chou	select CPU
7051631259SMasahiro Yamada
7151631259SMasahiro Yamadaconfig OPENRISC
7251631259SMasahiro Yamada	bool "OpenRISC architecture"
7351631259SMasahiro Yamada
7451631259SMasahiro Yamadaconfig PPC
7551631259SMasahiro Yamada	bool "PowerPC architecture"
7645ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
770a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
78c1c61573SSimon Glass	select SUPPORT_OF_CONTROL
7951631259SMasahiro Yamada
8051631259SMasahiro Yamadaconfig SANDBOX
8151631259SMasahiro Yamada	bool "Sandbox"
820a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
830a9e7ee5SMasahiro Yamada	select SYS_GENERIC_BOARD
84783e6a72SMasahiro Yamada	select SUPPORT_OF_CONTROL
8558d423b8SMasahiro Yamada	select DM
8658d423b8SMasahiro Yamada	select DM_SPI_FLASH
8758d423b8SMasahiro Yamada	select DM_SERIAL
8858d423b8SMasahiro Yamada	select DM_I2C
8958d423b8SMasahiro Yamada	select DM_SPI
9058d423b8SMasahiro Yamada	select DM_GPIO
9151631259SMasahiro Yamada
9251631259SMasahiro Yamadaconfig SH
9351631259SMasahiro Yamada	bool "SuperH architecture"
9445ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
9551631259SMasahiro Yamada
9651631259SMasahiro Yamadaconfig SPARC
9751631259SMasahiro Yamada	bool "SPARC architecture"
98a350c6a6SMasahiro Yamada	select CREATE_ARCH_SYMLINK
9951631259SMasahiro Yamada
10051631259SMasahiro Yamadaconfig X86
10151631259SMasahiro Yamada	bool "x86 architecture"
102a350c6a6SMasahiro Yamada	select CREATE_ARCH_SYMLINK
10345ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
1040a12e687SMasahiro Yamada	select HAVE_GENERIC_BOARD
1050a9e7ee5SMasahiro Yamada	select SYS_GENERIC_BOARD
106783e6a72SMasahiro Yamada	select SUPPORT_OF_CONTROL
10758d423b8SMasahiro Yamada	select DM
10858d423b8SMasahiro Yamada	select DM_SERIAL
10958d423b8SMasahiro Yamada	select DM_GPIO
1103e452227SBin Meng	select DM_SPI
1113e452227SBin Meng	select DM_SPI_FLASH
11251631259SMasahiro Yamada
11351631259SMasahiro Yamadaendchoice
11451631259SMasahiro Yamada
1153174e4e8SMasahiro Yamadaconfig SYS_ARCH
1163174e4e8SMasahiro Yamada	string
1173174e4e8SMasahiro Yamada	help
1183174e4e8SMasahiro Yamada	  This option should contain the architecture name to build the
1193174e4e8SMasahiro Yamada	  appropriate arch/<CONFIG_SYS_ARCH> directory.
1203174e4e8SMasahiro Yamada	  All the architectures should specify this option correctly.
1213174e4e8SMasahiro Yamada
1223174e4e8SMasahiro Yamadaconfig SYS_CPU
1233174e4e8SMasahiro Yamada	string
1243174e4e8SMasahiro Yamada	help
1253174e4e8SMasahiro Yamada	  This option should contain the CPU name to build the correct
1263174e4e8SMasahiro Yamada	  arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
1273174e4e8SMasahiro Yamada
1283174e4e8SMasahiro Yamada	  This is optional.  For those targets without the CPU directory,
1293174e4e8SMasahiro Yamada	  leave this option empty.
1303174e4e8SMasahiro Yamada
1313174e4e8SMasahiro Yamadaconfig SYS_SOC
1323174e4e8SMasahiro Yamada	string
1333174e4e8SMasahiro Yamada	help
1343174e4e8SMasahiro Yamada	  This option should contain the SoC name to build the directory
1353174e4e8SMasahiro Yamada	  arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
1363174e4e8SMasahiro Yamada
1373174e4e8SMasahiro Yamada	  This is optional.  For those targets without the SoC directory,
1383174e4e8SMasahiro Yamada	  leave this option empty.
1393174e4e8SMasahiro Yamada
1403174e4e8SMasahiro Yamadaconfig SYS_VENDOR
1413174e4e8SMasahiro Yamada	string
1423174e4e8SMasahiro Yamada	help
1433174e4e8SMasahiro Yamada	  This option should contain the vendor name of the target board.
1443174e4e8SMasahiro Yamada	  If it is set and
1453174e4e8SMasahiro Yamada	  board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
1463174e4e8SMasahiro Yamada	  directory is compiled.
1473174e4e8SMasahiro Yamada	  If CONFIG_SYS_BOARD is also set, the sources under
1483174e4e8SMasahiro Yamada	  board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
1493174e4e8SMasahiro Yamada
1503174e4e8SMasahiro Yamada	  This is optional.  For those targets without the vendor directory,
1513174e4e8SMasahiro Yamada	  leave this option empty.
1523174e4e8SMasahiro Yamada
1533174e4e8SMasahiro Yamadaconfig SYS_BOARD
1543174e4e8SMasahiro Yamada	string
1553174e4e8SMasahiro Yamada	help
1563174e4e8SMasahiro Yamada	  This option should contain the name of the target board.
1573174e4e8SMasahiro Yamada	  If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
1583174e4e8SMasahiro Yamada	  or board/<CONFIG_SYS_BOARD> directory is compiled depending on
1593174e4e8SMasahiro Yamada	  whether CONFIG_SYS_VENDOR is set or not.
1603174e4e8SMasahiro Yamada
1613174e4e8SMasahiro Yamada	  This is optional.  For those targets without the board directory,
1623174e4e8SMasahiro Yamada	  leave this option empty.
1633174e4e8SMasahiro Yamada
1643174e4e8SMasahiro Yamadaconfig SYS_CONFIG_NAME
1653174e4e8SMasahiro Yamada	string
1663174e4e8SMasahiro Yamada	help
1673174e4e8SMasahiro Yamada	  This option should contain the base name of board header file.
1683174e4e8SMasahiro Yamada	  The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
1693174e4e8SMasahiro Yamada	  should be included from include/config.h.
1703174e4e8SMasahiro Yamada
17151631259SMasahiro Yamadasource "arch/arc/Kconfig"
17251631259SMasahiro Yamadasource "arch/arm/Kconfig"
17351631259SMasahiro Yamadasource "arch/avr32/Kconfig"
17451631259SMasahiro Yamadasource "arch/blackfin/Kconfig"
17551631259SMasahiro Yamadasource "arch/m68k/Kconfig"
17651631259SMasahiro Yamadasource "arch/microblaze/Kconfig"
17751631259SMasahiro Yamadasource "arch/mips/Kconfig"
17851631259SMasahiro Yamadasource "arch/nds32/Kconfig"
17951631259SMasahiro Yamadasource "arch/nios2/Kconfig"
18051631259SMasahiro Yamadasource "arch/openrisc/Kconfig"
18151631259SMasahiro Yamadasource "arch/powerpc/Kconfig"
18251631259SMasahiro Yamadasource "arch/sandbox/Kconfig"
18351631259SMasahiro Yamadasource "arch/sh/Kconfig"
18451631259SMasahiro Yamadasource "arch/sparc/Kconfig"
18551631259SMasahiro Yamadasource "arch/x86/Kconfig"
186