[PATCH v3 14/46] boot: Convert IMAGE_FORMAT into an enum
Simon Glass
sjg at chromium.org
Fri Dec 20 05:06:25 CET 2024
Use an enum so it is clearer that these options are related. Update
genimg_get_format(), tidy up the function comment and move it to the
header file, since it is exported.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v3:
- Add new patch to convert IMAGE_FORMAT into an enum
boot/image-board.c | 18 +++---------------
include/image.h | 26 +++++++++++++++++++++-----
2 files changed, 24 insertions(+), 20 deletions(-)
Applied to sjg/master, thanks!
More information about the U-Boot
mailing list