aboutsummaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorJean-Jacques Hiblot2019-10-22 16:39:13 +0200
committerTom Rini2020-01-07 11:12:47 -0500
commitea376ebc9b166dd2bf8328c133e51d0ff58376ef (patch)
treee0ca51dab81dd4c8c04195d10a54943677f42868 /Kconfig
parent99329be2c58d53ccf8f597bab3de85f4c572b152 (diff)
spl: fit: allocate a temporary buffer to load the overlays
If the node describing an overlay does not specify a load address, it will be loaded at the address previously used. Fixing it by allocating a temporary buffer that will be used as a default load address. By default, the size of the buffer is 64kB which should be plenty for most use cases. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index 0edd4ec2b0b..99cc56f3c2b 100644
--- a/Kconfig
+++ b/Kconfig
@@ -453,6 +453,15 @@ config SPL_LOAD_FIT_APPLY_OVERLAY
also load device-tree overlays from the FIT image an apply them
over the device tree.
+config SPL_LOAD_FIT_APPLY_OVERLAY_BUF_SZ
+ depends on SPL_LOAD_FIT_APPLY_OVERLAY
+ default 0x10000
+ hex "size of temporary buffer used to load the overlays"
+ help
+ The size of the area where the overlays will be loaded and
+ uncompress. Must be at least as large as biggest overlay
+ (uncompressed)
+
config SPL_LOAD_FIT_FULL
bool "Enable SPL loading U-Boot as a FIT (full fitImage features)"
select SPL_FIT