xref: /rk3399_rockchip-uboot/arch/Kconfig (revision d91a9d7fb3910dcbb913bfe183c5268f0e5f928b)
1a350c6a6SMasahiro Yamadaconfig CREATE_ARCH_SYMLINK
2a350c6a6SMasahiro Yamada	bool
3a350c6a6SMasahiro Yamada
49a387128SMasahiro Yamadaconfig HAVE_ARCH_IOREMAP
59a387128SMasahiro Yamada	bool
69a387128SMasahiro Yamada
751631259SMasahiro Yamadachoice
851631259SMasahiro Yamada	prompt "Architecture select"
951631259SMasahiro Yamada	default SANDBOX
1051631259SMasahiro Yamada
1151631259SMasahiro Yamadaconfig ARC
1251631259SMasahiro Yamada	bool "ARC architecture"
13a67ef280SAlexey Brodkin	select HAVE_PRIVATE_LIBGCC
1401496c4fSAlexey Brodkin	select SUPPORT_OF_CONTROL
15a421192fSSimon Glass	select ARCH_EARLY_INIT_R
163daa7c7bSVlad Zakharov	select CLK
173daa7c7bSVlad Zakharov	select TIMER
183daa7c7bSVlad Zakharov	select ARC_TIMER
1951631259SMasahiro Yamada
2051631259SMasahiro Yamadaconfig ARM
2151631259SMasahiro Yamada	bool "ARM architecture"
22a350c6a6SMasahiro Yamada	select CREATE_ARCH_SYMLINK
2364b77ed2SMasahiro Yamada	select HAVE_PRIVATE_LIBGCC if !ARM64
24783e6a72SMasahiro Yamada	select SUPPORT_OF_CONTROL
2551631259SMasahiro Yamada
2651631259SMasahiro Yamadaconfig AVR32
2751631259SMasahiro Yamada	bool "AVR32 architecture"
28a350c6a6SMasahiro Yamada	select CREATE_ARCH_SYMLINK
2951631259SMasahiro Yamada
3051631259SMasahiro Yamadaconfig M68K
3151631259SMasahiro Yamada	bool "M68000 architecture"
326463fd8fSangelo@sysam.it	select HAVE_PRIVATE_LIBGCC
3351631259SMasahiro Yamada
3451631259SMasahiro Yamadaconfig MICROBLAZE
3551631259SMasahiro Yamada	bool "MicroBlaze architecture"
36783e6a72SMasahiro Yamada	select SUPPORT_OF_CONTROL
3751631259SMasahiro Yamada
3851631259SMasahiro Yamadaconfig MIPS
3951631259SMasahiro Yamada	bool "MIPS architecture"
409a387128SMasahiro Yamada	select HAVE_ARCH_IOREMAP
4145ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
420fc13a90SDaniel Schwierzeck	select SUPPORT_OF_CONTROL
4351631259SMasahiro Yamada
4451631259SMasahiro Yamadaconfig NDS32
4551631259SMasahiro Yamada	bool "NDS32 architecture"
4651631259SMasahiro Yamada
4751631259SMasahiro Yamadaconfig NIOS2
4851631259SMasahiro Yamada	bool "Nios II architecture"
49a03377b6SThomas Chou	select SUPPORT_OF_CONTROL
50bcae80e9SThomas Chou	select OF_CONTROL
51bcae80e9SThomas Chou	select DM
52bcae80e9SThomas Chou	select CPU
5351631259SMasahiro Yamada
5451631259SMasahiro Yamadaconfig PPC
5551631259SMasahiro Yamada	bool "PowerPC architecture"
5645ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
57c1c61573SSimon Glass	select SUPPORT_OF_CONTROL
5851631259SMasahiro Yamada
5951631259SMasahiro Yamadaconfig SANDBOX
6051631259SMasahiro Yamada	bool "Sandbox"
61e5ec4815STom Rini	select BOARD_LATE_INIT
62783e6a72SMasahiro Yamada	select SUPPORT_OF_CONTROL
6358d423b8SMasahiro Yamada	select DM
64558e1257SMasahiro Yamada	select DM_KEYBOARD
6558d423b8SMasahiro Yamada	select DM_SPI_FLASH
6658d423b8SMasahiro Yamada	select DM_SERIAL
6758d423b8SMasahiro Yamada	select DM_I2C
6858d423b8SMasahiro Yamada	select DM_SPI
6958d423b8SMasahiro Yamada	select DM_GPIO
709a46bd3fSSimon Glass	select DM_MMC
7151631259SMasahiro Yamada
7251631259SMasahiro Yamadaconfig SH
7351631259SMasahiro Yamada	bool "SuperH architecture"
7445ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
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
82558e1257SMasahiro Yamada	select DM_KEYBOARD
8358d423b8SMasahiro Yamada	select DM_SERIAL
8458d423b8SMasahiro Yamada	select DM_GPIO
853e452227SBin Meng	select DM_SPI
863e452227SBin Meng	select DM_SPI_FLASH
8764d6ac5bSTom Rini	select USB_EHCI_HCD
88ddb3ac3cSSimon Glass	select DM_MMC if MMC
89fe7604a3SSimon Glass	imply CMD_FPGA_LOADMK
90*d91a9d7fSSimon Glass	imply CMD_GETTIME
9151631259SMasahiro Yamada
92c978b524SChris Zankelconfig XTENSA
93c978b524SChris Zankel	bool "Xtensa architecture"
94c978b524SChris Zankel	select CREATE_ARCH_SYMLINK
95c978b524SChris Zankel	select SUPPORT_OF_CONTROL
96c978b524SChris Zankel
9751631259SMasahiro Yamadaendchoice
9851631259SMasahiro Yamada
993174e4e8SMasahiro Yamadaconfig SYS_ARCH
1003174e4e8SMasahiro Yamada	string
1013174e4e8SMasahiro Yamada	help
1023174e4e8SMasahiro Yamada	  This option should contain the architecture name to build the
1033174e4e8SMasahiro Yamada	  appropriate arch/<CONFIG_SYS_ARCH> directory.
1043174e4e8SMasahiro Yamada	  All the architectures should specify this option correctly.
1053174e4e8SMasahiro Yamada
1063174e4e8SMasahiro Yamadaconfig SYS_CPU
1073174e4e8SMasahiro Yamada	string
1083174e4e8SMasahiro Yamada	help
1093174e4e8SMasahiro Yamada	  This option should contain the CPU name to build the correct
1103174e4e8SMasahiro Yamada	  arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
1113174e4e8SMasahiro Yamada
1123174e4e8SMasahiro Yamada	  This is optional.  For those targets without the CPU directory,
1133174e4e8SMasahiro Yamada	  leave this option empty.
1143174e4e8SMasahiro Yamada
1153174e4e8SMasahiro Yamadaconfig SYS_SOC
1163174e4e8SMasahiro Yamada	string
1173174e4e8SMasahiro Yamada	help
1183174e4e8SMasahiro Yamada	  This option should contain the SoC name to build the directory
1193174e4e8SMasahiro Yamada	  arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
1203174e4e8SMasahiro Yamada
1213174e4e8SMasahiro Yamada	  This is optional.  For those targets without the SoC directory,
1223174e4e8SMasahiro Yamada	  leave this option empty.
1233174e4e8SMasahiro Yamada
1243174e4e8SMasahiro Yamadaconfig SYS_VENDOR
1253174e4e8SMasahiro Yamada	string
1263174e4e8SMasahiro Yamada	help
1273174e4e8SMasahiro Yamada	  This option should contain the vendor name of the target board.
1283174e4e8SMasahiro Yamada	  If it is set and
1293174e4e8SMasahiro Yamada	  board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
1303174e4e8SMasahiro Yamada	  directory is compiled.
1313174e4e8SMasahiro Yamada	  If CONFIG_SYS_BOARD is also set, the sources under
1323174e4e8SMasahiro Yamada	  board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
1333174e4e8SMasahiro Yamada
1343174e4e8SMasahiro Yamada	  This is optional.  For those targets without the vendor directory,
1353174e4e8SMasahiro Yamada	  leave this option empty.
1363174e4e8SMasahiro Yamada
1373174e4e8SMasahiro Yamadaconfig SYS_BOARD
1383174e4e8SMasahiro Yamada	string
1393174e4e8SMasahiro Yamada	help
1403174e4e8SMasahiro Yamada	  This option should contain the name of the target board.
1413174e4e8SMasahiro Yamada	  If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
1423174e4e8SMasahiro Yamada	  or board/<CONFIG_SYS_BOARD> directory is compiled depending on
1433174e4e8SMasahiro Yamada	  whether CONFIG_SYS_VENDOR is set or not.
1443174e4e8SMasahiro Yamada
1453174e4e8SMasahiro Yamada	  This is optional.  For those targets without the board directory,
1463174e4e8SMasahiro Yamada	  leave this option empty.
1473174e4e8SMasahiro Yamada
1483174e4e8SMasahiro Yamadaconfig SYS_CONFIG_NAME
1493174e4e8SMasahiro Yamada	string
1503174e4e8SMasahiro Yamada	help
1513174e4e8SMasahiro Yamada	  This option should contain the base name of board header file.
1523174e4e8SMasahiro Yamada	  The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
1533174e4e8SMasahiro Yamada	  should be included from include/config.h.
1543174e4e8SMasahiro Yamada
15551631259SMasahiro Yamadasource "arch/arc/Kconfig"
15651631259SMasahiro Yamadasource "arch/arm/Kconfig"
15751631259SMasahiro Yamadasource "arch/avr32/Kconfig"
15851631259SMasahiro Yamadasource "arch/m68k/Kconfig"
15951631259SMasahiro Yamadasource "arch/microblaze/Kconfig"
16051631259SMasahiro Yamadasource "arch/mips/Kconfig"
16151631259SMasahiro Yamadasource "arch/nds32/Kconfig"
16251631259SMasahiro Yamadasource "arch/nios2/Kconfig"
16351631259SMasahiro Yamadasource "arch/powerpc/Kconfig"
16451631259SMasahiro Yamadasource "arch/sandbox/Kconfig"
16551631259SMasahiro Yamadasource "arch/sh/Kconfig"
16651631259SMasahiro Yamadasource "arch/x86/Kconfig"
167c978b524SChris Zankelsource "arch/xtensa/Kconfig"
168