rockchip: Add SPL into the main FIT

VBE may want to load the SPL image from the same FIT as contains U-Boot,
if there is enough memory, so add it.

Changes in v2:
- Move VPL things into a separate file

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-01-29 06:50:32 -07:00
parent fa9d81d84b
commit 2c92d931f2

View File

@@ -29,3 +29,32 @@
};
};
};
&binman {
template-1 {
images {
spl {
description = "U-Boot SPL";
type = "firmware";
os = "u-boot";
arch = ARCH;
compression = "lz4";
load = <CONFIG_SPL_TEXT_BASE>;
entry = <CONFIG_SPL_TEXT_BASE>;
phase = "spl";
section {
compress = "lz4";
u-boot-spl-nodtb {
};
u-boot-spl-bss-pad {
};
};
};
};
configurations {
@config-SEQ {
fit,firmware = "atf-1", "u-boot", "spl";
};
};
};
};