odroid_xu3: Fix board environment variable
[platform/kernel/u-boot.git] / Kconfig
diff --git a/Kconfig b/Kconfig
index ff92a38..f7e3c33 100644 (file)
--- a/Kconfig
+++ b/Kconfig
@@ -252,14 +252,12 @@ config SYS_MALLOC_F_LEN
        default 0x600 if ARCH_ZYNQMP_R5 || ARCH_ZYNQMP
        default 0x800 if ARCH_ZYNQ || ROCKCHIP_RK3128 || ROCKCHIP_RK3188 || \
                         ROCKCHIP_RK322X || X86
-       default 0x1000 if AM33XX || ARCH_MESON || ARCH_BMIPS || ARCH_MTMIPS
+       default 0x1000 if ARCH_MESON || ARCH_BMIPS || ARCH_MTMIPS
        default 0x1800 if ARCH_TEGRA
        default 0x4000 if SANDBOX || RISCV || ARCH_APPLE || ROCKCHIP_RK3368 || \
                          ROCKCHIP_RK3399
        default 0x8000 if RCAR_GEN3
-       default 0x10000 if ARCH_IMX8 || (ARCH_IMX8M && !IMX8MQ) || \
-                          ARCH_LS1012A || ARCH_LS1021A || ARCH_LS1043A || \
-                          ARCH_LS1046A
+       default 0x10000 if ARCH_IMX8 || (ARCH_IMX8M && !IMX8MQ)
        default 0x2000
        help
          Before relocation, memory is very limited on many platforms. Still,
@@ -283,6 +281,7 @@ config SYS_MALLOC_LEN
 config SPL_SYS_MALLOC_F_LEN
        hex "Size of malloc() pool in SPL"
        depends on SYS_MALLOC_F && SPL
+       default 0 if !SPL_FRAMEWORK
        default 0x2800 if RCAR_GEN3
        default SYS_MALLOC_F_LEN
        help
@@ -306,6 +305,7 @@ config TPL_SYS_MALLOC_F_LEN
 
 config VALGRIND
        bool "Inform valgrind about memory allocations"
+       depends on !RISCV
        help
          Valgrind is an instrumentation framework for building dynamic analysis
          tools. In particular, it may be used to detect memory management bugs
@@ -318,6 +318,16 @@ config VALGRIND
          it can be handled accurately by Valgrind. If you aren't planning on
          using valgrind to debug U-Boot, say 'n'.
 
+config VPL_SYS_MALLOC_F_LEN
+       hex "Size of malloc() pool in VPL before relocation"
+       depends on SYS_MALLOC_F && VPL
+       default SYS_MALLOC_F_LEN
+       help
+         Before relocation, memory is very limited on many platforms. Still,
+         we can provide a small malloc() pool if needed. Driver model in
+         particular needs this to operate, so that it can allocate the
+         initial serial device and any others that are needed.
+
 menuconfig EXPERT
        bool "Configure standard U-Boot features (expert users)"
        default y