[PATCH 0/8] image: Refactor ramdisk code to avoid #ifdef

Simon Glass sjg at chromium.org
Sun Aug 28 20:32:45 CEST 2022


The previous attempt at this[1] broke a board and was reverted in [2].
This series adopts a slightly different approach, splitting the changes
into many commits.

[1] f33a2c1bd0f ("image: Remove #ifdefs from select_ramdisk()")
[2] 621158d106f ("Revert "image: Remove #ifdefs from select_ramdisk()"")


Simon Glass (8):
  image: Fix up ANDROID_BOOT_IMAGE ramdisk code
  image: Track when ramdisk processing is completed
  image: Drop #ifdefs for LEGACY_IMAGE_FORMAT
  image: Drop one #ifdef for FIT
  image: Drop another #ifdef for FIT
  image: Drop remaining FIT #ifdef
  image: Correct indentation in select_ramdisk()
  image: Drop some other #ifdefs in image-board.c

 boot/image-board.c | 212 ++++++++++++++++++++++++---------------------
 include/image.h    |   6 ++
 2 files changed, 121 insertions(+), 97 deletions(-)

-- 
2.37.2.672.g94769d06f0-goog



More information about the U-Boot mailing list