xref: /openbmc/u-boot/arch/Kconfig (revision 4f89d4947c9ecb2e859f70a6aed2e0c18d63fb54)
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"
135ed063d1SMichal Simek	select ARCH_EARLY_INIT_R
145ed063d1SMichal Simek	select ARC_TIMER
155ed063d1SMichal Simek	select CLK
16a67ef280SAlexey Brodkin	select HAVE_PRIVATE_LIBGCC
1701496c4fSAlexey Brodkin	select SUPPORT_OF_CONTROL
183daa7c7bSVlad Zakharov	select 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 M68K
2751631259SMasahiro Yamada	bool "M68000 architecture"
286463fd8fSangelo@sysam.it	select HAVE_PRIVATE_LIBGCC
29405fc830SDerald D. Woods	select SYS_BOOT_GET_CMDLINE
30405fc830SDerald D. Woods	select SYS_BOOT_GET_KBD
3151631259SMasahiro Yamada
3251631259SMasahiro Yamadaconfig MICROBLAZE
3351631259SMasahiro Yamada	bool "MicroBlaze architecture"
34783e6a72SMasahiro Yamada	select SUPPORT_OF_CONTROL
351b330894SSimon Glass	imply CMD_IRQ
3651631259SMasahiro Yamada
3751631259SMasahiro Yamadaconfig MIPS
3851631259SMasahiro Yamada	bool "MIPS architecture"
399a387128SMasahiro Yamada	select HAVE_ARCH_IOREMAP
4045ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
410fc13a90SDaniel Schwierzeck	select SUPPORT_OF_CONTROL
4251631259SMasahiro Yamada
4351631259SMasahiro Yamadaconfig NDS32
4451631259SMasahiro Yamada	bool "NDS32 architecture"
4586132af7Srick	select SUPPORT_OF_CONTROL
4651631259SMasahiro Yamada
4751631259SMasahiro Yamadaconfig NIOS2
4851631259SMasahiro Yamada	bool "Nios II architecture"
49bcae80e9SThomas Chou	select CPU
505ed063d1SMichal Simek	select DM
515ed063d1SMichal Simek	select OF_CONTROL
525ed063d1SMichal Simek	select SUPPORT_OF_CONTROL
5308a00cbaSMichal Simek	imply CMD_DM
5451631259SMasahiro Yamada
5551631259SMasahiro Yamadaconfig PPC
5651631259SMasahiro Yamada	bool "PowerPC architecture"
5745ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
58c1c61573SSimon Glass	select SUPPORT_OF_CONTROL
59405fc830SDerald D. Woods	select SYS_BOOT_GET_CMDLINE
60405fc830SDerald D. Woods	select SYS_BOOT_GET_KBD
6151631259SMasahiro Yamada
62068feb9bSRick Chenconfig RISCV
63117a433dSBin Meng	bool "RISC-V architecture"
64068feb9bSRick Chen	select SUPPORT_OF_CONTROL
65bf6cc82cSBin Meng	select OF_CONTROL
66bf6cc82cSBin Meng	select DM
67cd1f45c2SBin Meng	imply DM_SERIAL
68cd1f45c2SBin Meng	imply DM_ETH
69cd1f45c2SBin Meng	imply DM_MMC
70cd1f45c2SBin Meng	imply DM_SPI
71cd1f45c2SBin Meng	imply DM_SPI_FLASH
72cd1f45c2SBin Meng	imply BLK
73cd1f45c2SBin Meng	imply CLK
74cd1f45c2SBin Meng	imply MTD
75cd1f45c2SBin Meng	imply TIMER
76bf6cc82cSBin Meng	imply CMD_DM
77068feb9bSRick Chen
7851631259SMasahiro Yamadaconfig SANDBOX
7951631259SMasahiro Yamada	bool "Sandbox"
80e5ec4815STom Rini	select BOARD_LATE_INIT
8158d423b8SMasahiro Yamada	select DM
8258d423b8SMasahiro Yamada	select DM_GPIO
835ed063d1SMichal Simek	select DM_I2C
845ed063d1SMichal Simek	select DM_KEYBOARD
859a46bd3fSSimon Glass	select DM_MMC
865ed063d1SMichal Simek	select DM_SERIAL
875ed063d1SMichal Simek	select DM_SPI
885ed063d1SMichal Simek	select DM_SPI_FLASH
891811a928SAdam Ford	select HAVE_BLOCK_DEVICE
90d56b4b19STom Rini	select LZO
915ed063d1SMichal Simek	select SPI
925ed063d1SMichal Simek	select SUPPORT_OF_CONTROL
930f1caa98SBin Meng	imply BITREVERSE
9408a00cbaSMichal Simek	imply CMD_DM
95ded48cdcSSimon Glass	imply CMD_GETTIME
96551c3934SSimon Glass	imply CMD_HASH
97594e8d1cSSimon Glass	imply CMD_IO
987d0f5c13SSimon Glass	imply CMD_IOTRACE
99ee7c0e71SSimon Glass	imply CMD_LZMADEC
1005ed063d1SMichal Simek	imply CMD_SATA
1015ed063d1SMichal Simek	imply CMD_SF_TEST
10291d27a17STom Rini	imply CRC32_VERIFY
10391d27a17STom Rini	imply FAT_WRITE
10431b8217eSRajan Vaja	imply FIRMWARE
105221a949eSDaniel Thompson	imply HASH_VERIFY
10691d27a17STom Rini	imply LZMA
107fedb428cSSimon Glass	imply SCSI
108fe39e8e0SJens Wiklander	imply TEE
1090a60a81bSJens Wiklander	imply AVB_VERIFY
1100a60a81bSJens Wiklander	imply LIBAVB
1110a60a81bSJens Wiklander	imply CMD_AVB
1120a60a81bSJens Wiklander	imply UDP_FUNCTION_FASTBOOT
113*4f89d494SBin Meng	imply VIRTIO_MMIO
114*4f89d494SBin Meng	imply VIRTIO_PCI
115*4f89d494SBin Meng	imply VIRTIO_SANDBOX
116*4f89d494SBin Meng	imply VIRTIO_BLK
117*4f89d494SBin Meng	imply VIRTIO_NET
11851631259SMasahiro Yamada
11951631259SMasahiro Yamadaconfig SH
12051631259SMasahiro Yamada	bool "SuperH architecture"
12145ccec8fSMasahiro Yamada	select HAVE_PRIVATE_LIBGCC
12251631259SMasahiro Yamada
12351631259SMasahiro Yamadaconfig X86
12451631259SMasahiro Yamada	bool "x86 architecture"
125a350c6a6SMasahiro Yamada	select CREATE_ARCH_SYMLINK
12658d423b8SMasahiro Yamada	select DM
1276bf89de7SBin Meng	select DM_PCI
1283bf9a8e8SBin Meng	select HAVE_ARCH_IOMAP
1295ed063d1SMichal Simek	select HAVE_PRIVATE_LIBGCC
1305ed063d1SMichal Simek	select OF_CONTROL
1314f0faacbSBin Meng	select PCI
1325ed063d1SMichal Simek	select SUPPORT_OF_CONTROL
1330ce9c576SBin Meng	select TIMER
1345ed063d1SMichal Simek	select USE_PRIVATE_LIBGCC
1350ce9c576SBin Meng	select X86_TSC_TIMER
13624357dfdSBin Meng	imply BLK
13708a00cbaSMichal Simek	imply CMD_DM
138fe7604a3SSimon Glass	imply CMD_FPGA_LOADMK
139d91a9d7fSSimon Glass	imply CMD_GETTIME
140594e8d1cSSimon Glass	imply CMD_IO
1411b330894SSimon Glass	imply CMD_IRQ
142c11b17c6SBin Meng	imply CMD_PCI
143719d36eeSSimon Glass	imply CMD_SF_TEST
144e7a815f3SSimon Glass	imply CMD_ZBOOT
1455ed063d1SMichal Simek	imply DM_ETH
1465ed063d1SMichal Simek	imply DM_GPIO
1475ed063d1SMichal Simek	imply DM_KEYBOARD
1485ed063d1SMichal Simek	imply DM_MMC
1495ed063d1SMichal Simek	imply DM_RTC
1505ed063d1SMichal Simek	imply DM_SCSI
1515ed063d1SMichal Simek	imply DM_SERIAL
1525ed063d1SMichal Simek	imply DM_SPI
1535ed063d1SMichal Simek	imply DM_SPI_FLASH
1545ed063d1SMichal Simek	imply DM_USB
1555ed063d1SMichal Simek	imply DM_VIDEO
1565ed063d1SMichal Simek	imply SYSRESET
1575ed063d1SMichal Simek	imply SYSRESET_X86
158f58ad98aSChris Packham	imply USB_ETHER_ASIX
159f58ad98aSChris Packham	imply USB_ETHER_SMSC95XX
1605ed063d1SMichal Simek	imply USB_HOST_ETHER
16151631259SMasahiro Yamada
162c978b524SChris Zankelconfig XTENSA
163c978b524SChris Zankel	bool "Xtensa architecture"
164c978b524SChris Zankel	select CREATE_ARCH_SYMLINK
165c978b524SChris Zankel	select SUPPORT_OF_CONTROL
166c978b524SChris Zankel
16751631259SMasahiro Yamadaendchoice
16851631259SMasahiro Yamada
1693174e4e8SMasahiro Yamadaconfig SYS_ARCH
1703174e4e8SMasahiro Yamada	string
1713174e4e8SMasahiro Yamada	help
1723174e4e8SMasahiro Yamada	  This option should contain the architecture name to build the
1733174e4e8SMasahiro Yamada	  appropriate arch/<CONFIG_SYS_ARCH> directory.
1743174e4e8SMasahiro Yamada	  All the architectures should specify this option correctly.
1753174e4e8SMasahiro Yamada
1763174e4e8SMasahiro Yamadaconfig SYS_CPU
1773174e4e8SMasahiro Yamada	string
1783174e4e8SMasahiro Yamada	help
1793174e4e8SMasahiro Yamada	  This option should contain the CPU name to build the correct
1803174e4e8SMasahiro Yamada	  arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU> directory.
1813174e4e8SMasahiro Yamada
1823174e4e8SMasahiro Yamada	  This is optional.  For those targets without the CPU directory,
1833174e4e8SMasahiro Yamada	  leave this option empty.
1843174e4e8SMasahiro Yamada
1853174e4e8SMasahiro Yamadaconfig SYS_SOC
1863174e4e8SMasahiro Yamada	string
1873174e4e8SMasahiro Yamada	help
1883174e4e8SMasahiro Yamada	  This option should contain the SoC name to build the directory
1893174e4e8SMasahiro Yamada	  arch/<CONFIG_SYS_ARCH>/cpu/<CONFIG_SYS_CPU>/<CONFIG_SYS_SOC>.
1903174e4e8SMasahiro Yamada
1913174e4e8SMasahiro Yamada	  This is optional.  For those targets without the SoC directory,
1923174e4e8SMasahiro Yamada	  leave this option empty.
1933174e4e8SMasahiro Yamada
1943174e4e8SMasahiro Yamadaconfig SYS_VENDOR
1953174e4e8SMasahiro Yamada	string
1963174e4e8SMasahiro Yamada	help
1973174e4e8SMasahiro Yamada	  This option should contain the vendor name of the target board.
1983174e4e8SMasahiro Yamada	  If it is set and
1993174e4e8SMasahiro Yamada	  board/<CONFIG_SYS_VENDOR>/common/Makefile exists, the vendor common
2003174e4e8SMasahiro Yamada	  directory is compiled.
2013174e4e8SMasahiro Yamada	  If CONFIG_SYS_BOARD is also set, the sources under
2023174e4e8SMasahiro Yamada	  board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> directory are compiled.
2033174e4e8SMasahiro Yamada
2043174e4e8SMasahiro Yamada	  This is optional.  For those targets without the vendor directory,
2053174e4e8SMasahiro Yamada	  leave this option empty.
2063174e4e8SMasahiro Yamada
2073174e4e8SMasahiro Yamadaconfig SYS_BOARD
2083174e4e8SMasahiro Yamada	string
2093174e4e8SMasahiro Yamada	help
2103174e4e8SMasahiro Yamada	  This option should contain the name of the target board.
2113174e4e8SMasahiro Yamada	  If it is set, either board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
2123174e4e8SMasahiro Yamada	  or board/<CONFIG_SYS_BOARD> directory is compiled depending on
2133174e4e8SMasahiro Yamada	  whether CONFIG_SYS_VENDOR is set or not.
2143174e4e8SMasahiro Yamada
2153174e4e8SMasahiro Yamada	  This is optional.  For those targets without the board directory,
2163174e4e8SMasahiro Yamada	  leave this option empty.
2173174e4e8SMasahiro Yamada
2183174e4e8SMasahiro Yamadaconfig SYS_CONFIG_NAME
2193174e4e8SMasahiro Yamada	string
2203174e4e8SMasahiro Yamada	help
2213174e4e8SMasahiro Yamada	  This option should contain the base name of board header file.
2223174e4e8SMasahiro Yamada	  The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
2233174e4e8SMasahiro Yamada	  should be included from include/config.h.
2243174e4e8SMasahiro Yamada
22551631259SMasahiro Yamadasource "arch/arc/Kconfig"
22651631259SMasahiro Yamadasource "arch/arm/Kconfig"
22751631259SMasahiro Yamadasource "arch/m68k/Kconfig"
22851631259SMasahiro Yamadasource "arch/microblaze/Kconfig"
22951631259SMasahiro Yamadasource "arch/mips/Kconfig"
23051631259SMasahiro Yamadasource "arch/nds32/Kconfig"
23151631259SMasahiro Yamadasource "arch/nios2/Kconfig"
23251631259SMasahiro Yamadasource "arch/powerpc/Kconfig"
23351631259SMasahiro Yamadasource "arch/sandbox/Kconfig"
23451631259SMasahiro Yamadasource "arch/sh/Kconfig"
23551631259SMasahiro Yamadasource "arch/x86/Kconfig"
236c978b524SChris Zankelsource "arch/xtensa/Kconfig"
237068feb9bSRick Chensource "arch/riscv/Kconfig"
238