]> Git Repo - J-u-boot.git/blobdiff - common/spl/Kconfig
net: introduce alternative implementation as net/lwip/
[J-u-boot.git] / common / spl / Kconfig
index 3c44e329d62d725232acedb8c105c72df09b55a5..9a27eabd7417876c45357d97f154afd7280258a0 100644 (file)
@@ -87,6 +87,8 @@ config SPL_MAX_SIZE
        default 0x5fa0 if SUNXI_SRAM_ADDRESS = 0x0
        default 0x10000 if ASPEED_AST2600
        default 0x27000 if IMX8MM && SPL_TEXT_BASE = 0x7E1000
+       default 0x30000 if ARCH_SC5XX && (SC59X_64 || SC59X)
+       default 0x20000 if ARCH_SC5XX && (SC58X || SC57X)
        default 0x0
        help
          Maximum size of the SPL image (text, data, rodata, and linker lists
@@ -111,7 +113,7 @@ config SPL_PAD_TO
 config SPL_HAS_BSS_LINKER_SECTION
        depends on SPL_FRAMEWORK
        bool "Use a specific address for the BSS via the linker script"
-       default y if ARCH_SUNXI || ARCH_MX6 || ARCH_OMAP2PLUS || MIPS || RISCV || ARCH_ZYNQMP
+       default y if ARCH_SUNXI || ARCH_MX6 || ARCH_OMAP2PLUS || MIPS || RISCV || ARCH_ZYNQMP || ARCH_SC5XX
 
 config SPL_BSS_START_ADDR
        hex "Link address for the BSS within the SPL binary"
@@ -123,6 +125,9 @@ config SPL_BSS_START_ADDR
        default 0x4ff80000 if ARCH_SUNXI && !(MACH_SUN9I || MACH_SUNIV)
        default 0x2ff80000 if ARCH_SUNXI && MACH_SUN9I
        default 0x1000 if ARCH_ZYNQMP
+       default 0x200B0000 if ARCH_SC5XX && (SC59X_64 || SC59X)
+       default 0x20080000 if ARCH_SC5XX && SC58X
+       default 0x200A0000 if ARCH_SC5XX && SC57X
 
 choice
        prompt "Enforce SPL BSS limit"
@@ -151,6 +156,7 @@ config SPL_BSS_MAX_SIZE
        depends on SPL_BSS_LIMIT
        default 0x100000 if ARCH_MX6 || RISCV
        default 0x80000 if ARCH_OMAP2PLUS || ARCH_SUNXI
+       default 0x10000 if ARCH_SC5XX
        help
          When non-zero, the linker checks that the actual memory used by SPL
          from __bss_start to __bss_end does not exceed it.
@@ -270,6 +276,7 @@ config SPL_TEXT_BASE
        default 0x20060 if SUN50I_GEN_H6 || SUNXI_GEN_NCAT2
        default 0x00060 if ARCH_SUNXI
        default 0xfffc0000 if ARCH_ZYNQMP
+       default 0x20080000 if ARCH_SC5XX
        default 0x0
        help
          The address in memory that SPL will be running from.
@@ -371,7 +378,7 @@ config SPL_SYS_MALLOC_SIMPLE
 config SPL_SHARES_INIT_SP_ADDR
        bool "SPL and U-Boot use the same initial stack pointer location"
        depends on (ARM || ARCH_JZ47XX || MICROBLAZE || RISCV) && SPL_FRAMEWORK
-       default n if ARCH_SUNXI || ARCH_MX6 || ARCH_MX7
+       default n if ARCH_SUNXI || ARCH_MX6 || ARCH_MX7 || ARCH_SC5XX
        default y
        help
          In many cases, we can use the same initial stack pointer address for
@@ -392,6 +399,9 @@ config SPL_STACK
        default 0x54000 if MACH_SUN50I || MACH_SUN50I_H5
        default 0x18000 if MACH_SUN9I
        default 0x8000 if ARCH_SUNXI
+       default 0x200E4000 if ARCH_SC5XX && (SC59X_64 || SC59X)
+       default 0x200B0000 if ARCH_SC5XX && SC58X
+       default 0x200D0000 if ARCH_SC5XX && SC57X
        help
          Address of the start of the stack SPL will use before SDRAM is
          initialized.
@@ -1073,6 +1083,7 @@ config SPL_DM_SPI_FLASH
 
 config SPL_NET
        bool "Support networking"
+       depends on !NET_LWIP
        help
          Enable support for network devices (such as Ethernet) in SPL.
          This permits SPL to load U-Boot over a network link rather than
@@ -1134,6 +1145,9 @@ config SPL_PAYLOAD_ARGS_ADDR
        hex "Address in memory to load 'args' file for Falcon Mode to"
        depends on SPL_OS_BOOT || SPL_LOAD_FIT_OPENSBI_OS_BOOT
        default 0x88000000 if ARCH_OMAP2PLUS
+       default 0x99000000 if ARCH_SC5XX && SC59X_64
+       default 0xA0000000 if ARCH_SC5XX && TARGET_SC594_SOM_EZKIT
+       default 0x80000000 if ARCH_SC5XX && TARGET_SC594_SOM_EZLITE
        help
          Address in memory where the 'args' file, typically a device tree
          will be loaded in to memory.
@@ -1248,15 +1262,11 @@ config SPL_POWER_DOMAIN
          the drivers in drivers/power/domain as part of a SPL build.
 
 config SPL_RAM_SUPPORT
-       bool "Support booting from RAM"
-       default y if MICROBLAZE || ARCH_SOCFPGA || ARCH_TEGRA || ARCH_ZYNQ
-       help
-         Enable booting of an image in RAM. The image can be preloaded or
-         it can be loaded by SPL directly into RAM (e.g. using USB).
+       bool
 
 config SPL_RAM_DEVICE
        bool "Support booting from preloaded image in RAM"
-       depends on SPL_RAM_SUPPORT
+       select SPL_RAM_SUPPORT
        default y if MICROBLAZE || ARCH_SOCFPGA || ARCH_TEGRA || ARCH_ZYNQ
        help
          Enable booting of an image already loaded in RAM. The image has to
@@ -1442,7 +1452,7 @@ config SPL_ATF
        help
          ATF(ARM Trusted Firmware) is a component for ARM AArch64 which
          is loaded by SPL (which is considered as BL2 in ATF terminology).
-         More detail at: https://github.com/ARM-software/arm-trusted-firmware
+         More detail at: https://github.com/TrustedFirmware-A/trusted-firmware-a
 
 config SPL_ATF_LOAD_IMAGE_V2
        bool "Use the new LOAD_IMAGE_V2 parameter passing"
This page took 0.028447 seconds and 4 git commands to generate.