mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-19 05:31:31 +02:00
rockchip: Add support to generate LZMA compressed U-boot binary
Add support for generating a LZMA-compressed U-boot binary with the help of binman, if CONFIG_SPL_LZMA is selected. Signed-off-by: Manoj Sai <abbaraju.manojsai@amarulasolutions.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
parent
439bd73336
commit
42a956e9d6
@ -58,6 +58,8 @@
|
|||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_SPL_GZIP)
|
#if defined(CONFIG_SPL_GZIP)
|
||||||
compression = "gzip";
|
compression = "gzip";
|
||||||
|
#elif defined(CONFIG_SPL_LZMA)
|
||||||
|
compression = "lzma";
|
||||||
#else
|
#else
|
||||||
compression = "none";
|
compression = "none";
|
||||||
#endif
|
#endif
|
||||||
@ -66,6 +68,8 @@
|
|||||||
u-boot-nodtb {
|
u-boot-nodtb {
|
||||||
#if defined(CONFIG_SPL_GZIP)
|
#if defined(CONFIG_SPL_GZIP)
|
||||||
compress = "gzip";
|
compress = "gzip";
|
||||||
|
#elif defined(CONFIG_SPL_LZMA)
|
||||||
|
compress = "lzma";
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
#ifdef CONFIG_SPL_FIT_SIGNATURE
|
#ifdef CONFIG_SPL_FIT_SIGNATURE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user