]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - arch/Kconfig
arm: mach-k3: am625: Fixup a53 cpu frequency by speed grade
[thirdparty/u-boot.git] / arch / Kconfig
index b074cc6c51ebc2cdff14676ffefdf80fd5ee675f..abd406d4884133932b3b7bc1f2e8aacc57ce4cc3 100644 (file)
@@ -20,6 +20,12 @@ config SYS_CACHE_SHIFT_6
 config SYS_CACHE_SHIFT_7
        bool
 
+config 32BIT
+       bool
+
+config 64BIT
+       bool
+
 config SYS_CACHELINE_SIZE
        int
        default 128 if SYS_CACHE_SHIFT_7
@@ -67,7 +73,7 @@ config ARM
 config M68K
        bool "M68000 architecture"
        select HAVE_PRIVATE_LIBGCC
-       select NEEDS_MANUAL_RELOC
+       select USE_PRIVATE_LIBGCC
        select SYS_BOOT_GET_CMDLINE
        select SYS_BOOT_GET_KBD
        select SYS_CACHE_SHIFT_4
@@ -93,7 +99,7 @@ config NIOS2
        bool "Nios II architecture"
        select CPU
        select DM
-       imply DM_EVENT
+       select DM_EVENT
        select OF_CONTROL
        select SUPPORT_OF_CONTROL
        imply CMD_DM
@@ -108,12 +114,13 @@ config PPC
 config RISCV
        bool "RISC-V architecture"
        select CREATE_ARCH_SYMLINK
+       select SUPPORT_ACPI
        select SUPPORT_OF_CONTROL
        select OF_CONTROL
        select DM
-       select SPL_SEPARATE_BSS if SPL
+       select DM_EVENT
+       imply SPL_SEPARATE_BSS if SPL
        imply DM_SERIAL
-       imply DM_EVENT
        imply DM_MMC
        imply DM_SPI
        imply DM_SPI_FLASH
@@ -134,8 +141,9 @@ config SANDBOX
        select ARCH_SUPPORTS_LTO
        select BOARD_LATE_INIT
        select BZIP2
-       select CMD_POWEROFF
+       select CMD_POWEROFF if CMDLINE
        select DM
+       select DM_EVENT
        select DM_FUZZING_ENGINE
        select DM_GPIO
        select DM_I2C
@@ -147,14 +155,15 @@ config SANDBOX
        select GZIP_COMPRESSED
        select IO_TRACE
        select LZO
+       select MTD
        select OF_BOARD_SETUP
        select PCI_ENDPOINT
        select SPI
        select SUPPORT_OF_CONTROL
-       select SYSRESET_CMD_POWEROFF
+       select SYSRESET_CMD_POWEROFF if CMD_POWEROFF
        select SYS_CACHE_SHIFT_4
        select IRQ
-       select SUPPORT_EXTENSION_SCAN
+       select SUPPORT_EXTENSION_SCAN if CMDLINE
        select SUPPORT_ACPI
        imply BITREVERSE
        select BLOBLIST
@@ -193,6 +202,7 @@ config SANDBOX
        imply PHYLIB
        imply DM_MDIO
        imply DM_MDIO_MUX
+       imply ACPI
        imply ACPI_PMC
        imply ACPI_PMC_SANDBOX
        imply CMD_PMC
@@ -206,6 +216,11 @@ config SANDBOX
        imply PHYSMEM
        imply GENERATE_ACPI_TABLE
        imply BINMAN
+       imply CMD_MBR
+       imply CMD_MMC
+       imply BOOTSTD_DEFAULTS if BOOTSTD_FULL && CMDLINE
+       imply BOOTMETH_DISTRO if BOOTSTD_FULL && CMDLINE
+       imply CMD_SYSBOOT if BOOTSTD_FULL
 
 config SH
        bool "SuperH architecture"
@@ -239,17 +254,17 @@ config X86
        imply CMD_PCI
        imply CMD_SF
        imply CMD_SF_TEST
-       imply CMD_ZBOOT
-       imply DM_EVENT
        imply DM_GPIO
        imply DM_KEYBOARD
        imply DM_MMC
        imply DM_RTC
-       imply DM_SCSI
+       imply SCSI
        imply DM_SERIAL
+       imply MTD
        imply DM_SPI
        imply DM_SPI_FLASH
        imply DM_USB
+       imply LAST_STAGE_INIT
        imply VIDEO
        imply SYSRESET
        imply SPL_SYSRESET
@@ -260,6 +275,7 @@ config X86
        imply PCH
        imply PHYSMEM
        imply RTC_MC146818
+       imply ACPI
        imply ACPIGEN if !QEMU && !EFI_APP
        imply SYSINFO if GENERATE_SMBIOS_TABLE
        imply SYSINFO_SMBIOS if GENERATE_SMBIOS_TABLE
@@ -350,7 +366,16 @@ config SYS_BOARD
          leave this option empty.
 
 config SYS_CONFIG_NAME
-       string
+       string "Board header file" if ARCH_MESON || ARCH_VERSAL || \
+               ARCH_VERSAL_NET || ARCH_ZYNQ || ARCH_ZYNQMP || \
+               ARCH_ZYNQMP_R5 || MICROBLAZE || NIOS2
+       default "meson64" if ARCH_MESON
+       default "microblaze-generic" if MICROBLAZE
+       default "xilinx_versal" if ARCH_VERSAL
+       default "xilinx_versal_net" if ARCH_VERSAL_NET
+       default "xilinx_zynqmp" if ARCH_ZYNQMP
+       default "xilinx_zynqmp_r5" if ARCH_ZYNQMP_R5
+       default "zynq-common" if ARCH_ZYNQ
        help
          This option should contain the base name of board header file.
          The header file include/configs/<CONFIG_SYS_CONFIG_NAME>.h
@@ -380,9 +405,15 @@ config SYS_IMMR
          Address for the Internal Memory-Mapped Registers (IMMR) window used
          to configure the features of many Freescale / NXP SoCs.
 
-config SKIP_LOWLEVEL_INIT
-       bool "Skip the calls to certain low level initialization functions"
+config MONITOR_IS_IN_RAM
+       bool "U-Boot is loaded in to RAM by a pre-loader"
+       depends on M68K || NIOS2
+
+menu "Skipping low level initialization functions"
        depends on ARM || MIPS || RISCV
+
+config SKIP_LOWLEVEL_INIT
+       bool "Skip calls to certain low level initialization functions"
        help
          If enabled, then certain low level initializations (like setting up
          the memory controller) are omitted and/or U-Boot does not relocate
@@ -392,8 +423,8 @@ config SKIP_LOWLEVEL_INIT
          debugger which performs these initializations itself.
 
 config SPL_SKIP_LOWLEVEL_INIT
-       bool "Skip the calls to certain low level initialization functions"
-       depends on SPL && (ARM || MIPS || RISCV)
+       bool "Skip calls to certain low level initialization functions in SPL"
+       depends on SPL
        help
          If enabled, then certain low level initializations (like setting up
          the memory controller) are omitted and/or U-Boot does not relocate
@@ -403,7 +434,7 @@ config SPL_SKIP_LOWLEVEL_INIT
          debugger which performs these initializations itself.
 
 config TPL_SKIP_LOWLEVEL_INIT
-       bool "Skip the calls to certain low level initialization functions"
+       bool "Skip calls to certain low level initialization functions in TPL"
        depends on SPL && ARM
        help
          If enabled, then certain low level initializations (like setting up
@@ -414,7 +445,7 @@ config TPL_SKIP_LOWLEVEL_INIT
          debugger which performs these initializations itself.
 
 config SKIP_LOWLEVEL_INIT_ONLY
-       bool "Skip the call to lowlevel_init during early boot ONLY"
+       bool "Skip call to lowlevel_init during early boot ONLY"
        depends on ARM
        help
          This allows just the call to lowlevel_init() to be skipped. The
@@ -422,7 +453,7 @@ config SKIP_LOWLEVEL_INIT_ONLY
          performed.
 
 config SPL_SKIP_LOWLEVEL_INIT_ONLY
-       bool "Skip the call to lowlevel_init during early boot ONLY"
+       bool "Skip call to lowlevel_init during early SPL boot ONLY"
        depends on SPL && ARM
        help
          This allows just the call to lowlevel_init() to be skipped. The
@@ -430,13 +461,15 @@ config SPL_SKIP_LOWLEVEL_INIT_ONLY
          performed.
 
 config TPL_SKIP_LOWLEVEL_INIT_ONLY
-       bool "Skip the call to lowlevel_init during early boot ONLY"
+       bool "Skip call to lowlevel_init during early TPL boot ONLY"
        depends on TPL && ARM
        help
          This allows just the call to lowlevel_init() to be skipped. The
          normal CP15 init (such as enabling the instruction cache) is still
          performed.
 
+endmenu
+
 config SYS_HAS_NONCACHED_MEMORY
        bool "Enable reserving a non-cached memory area for drivers"
        depends on (ARM || MIPS) && (RTL8169 || MEDIATEK_ETH)