diff options
author | Simon Glass <sjg@chromium.org> | 2024-12-07 10:24:01 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-12-12 16:35:24 -0600 |
commit | bf86a3e830fca2884b3d4a5ef91bc60ba24d06dd (patch) | |
tree | 842e2ee814ad9fb368f42c068f5af52f0b214bdd /common | |
parent | 72cb9eb08cdd812d856cb547de682b1f4371b630 (diff) | |
download | u-boot-bf86a3e830fca2884b3d4a5ef91bc60ba24d06dd.tar.gz |
Support setting a maximum size for the VPL image
Add a size limit for VPL, to match those for SPL and TPL
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r-- | common/spl/Kconfig.vpl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/spl/Kconfig.vpl b/common/spl/Kconfig.vpl index 3dc0e95e09f..eb57dfabea5 100644 --- a/common/spl/Kconfig.vpl +++ b/common/spl/Kconfig.vpl @@ -237,6 +237,14 @@ config VPL_TEXT_BASE help The address in memory that VPL will be running from. +config VPL_MAX_SIZE + hex "Maximum size (in bytes) for the VPL stage" + default 0x2e000 if ROCKCHIP_RK3399 + default 0x0 + help + The maximum size (in bytes) of the TPL stage. This size is determined + by the amount of internal SRAM memory. + config VPL_BINMAN_SYMBOLS bool "Declare binman symbols in VPL" depends on VPL_FRAMEWORK && BINMAN |