]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - Kconfig
vpl: Add Kconfig options for VPL
[thirdparty/u-boot.git] / Kconfig
diff --git a/Kconfig b/Kconfig
index bdae59e06f4640520ef00fb93073eb7aaa1b5fd0..8bbb988790be8a9ff7694435bf565fc5e03ca178 100644 (file)
--- a/Kconfig
+++ b/Kconfig
@@ -319,6 +319,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