summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-04-30 00:56:53 -0600
committerTom Rini <trini@konsulko.com>2022-05-02 09:58:13 -0400
commit747093dd4089bdb2eccae90d7bccf33198e78eaa (patch)
treee36264b636aee2ab78fa2c91defc292e2151b8ed /Kconfig
parentf86ca5ad8f780d306e79d49ffe4f5cf1edef37b9 (diff)
vpl: Add Kconfig options for VPL
Add VPL versions of commonly used Kconfig options. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index bdae59e06f..8bbb988790 100644
--- 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