From 747093dd4089bdb2eccae90d7bccf33198e78eaa Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 30 Apr 2022 00:56:53 -0600 Subject: vpl: Add Kconfig options for VPL Add VPL versions of commonly used Kconfig options. Signed-off-by: Simon Glass --- Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Kconfig') 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 -- cgit v1.2.3