[PATCH 0/3] bootm: make uImage support optional

Ahmad Fatoum a.fatoum at pengutronix.de
Tue Apr 30 11:06:30 PDT 2024


While looking into CONFIG_TIMESTAMP, I noticed we still build UIMAGE
support unconditionally, when BOOTM is enabled. This series makes it
optional as most users no longer need it.

Saves me 4KiB in an LZO-compressed ARM64 image.

Ahmad Fatoum (3):
  uimage: move file_to_sdram implementation to libfile
  bootm: allow disabling uImage support
  uimage: have TIMESTMAP depend on UIMAGE

 commands/Kconfig  |  1 -
 common/Kconfig    | 13 ++++++++--
 common/bootm.c    | 22 +++++++++++++----
 common/uimage.c   | 59 ---------------------------------------------
 include/image.h   |  1 -
 include/libfile.h |  4 ++++
 lib/libfile.c     | 61 +++++++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 93 insertions(+), 68 deletions(-)

-- 
2.39.2




More information about the barebox mailing list