Re: [PATCH v6 17/25] spl: Convert mmc to spl_load

2023-11-07 Thread Simon Glass
On Sun, 5 Nov 2023 at 19:26, Sean Anderson wrote: > > This converts the mmc loader to spl_load. Legacy images are handled by > spl_load (via spl_parse_image_header), so mmc_load_legacy can be > omitted. To accurately determine whether mmc_load_image_raw_sector is used > (which might not be the

[PATCH v6 17/25] spl: Convert mmc to spl_load

2023-11-05 Thread Sean Anderson
This converts the mmc loader to spl_load. Legacy images are handled by spl_load (via spl_parse_image_header), so mmc_load_legacy can be omitted. To accurately determine whether mmc_load_image_raw_sector is used (which might not be the case if SYS_MMCSD_FS_BOOT is enabled), we introduce a helper