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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux