Files
u-boot/common/spl
Simon Glass f817e08ff2 spl: Drop the switch() statement for OS selection
This code is pretty ugly, with many #ifdefs

There are quite a lot of IH_OS_U_BOOT values so the compiler struggles
to create a jump table here. Also, most of the options are normally
disabled.

Change it to an else...if construct instead. Add an accessor for the
spl_image field behind an #ifdef to avoid needing #ifdef in the C code.

Signed-off-by: Simon Glass <sjg@chromium.org>
2023-10-06 14:38:12 -04:00
..
2022-10-31 11:03:59 -04:00
2023-07-30 18:53:08 +02:00
2023-10-02 10:55:44 -04:00
2023-09-19 11:36:26 -04:00
2022-09-25 08:30:05 -06:00