diff options
author | Sean Anderson <seanga2@gmail.com> | 2023-11-08 11:48:50 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-11-16 13:49:14 -0500 |
commit | 5d3401a448353767c5e67246a79271c9ee6f3f73 (patch) | |
tree | 2c4cb2d976884f1ccbe439a48d135ddf6d28582c /drivers/ddr/imx/phy/helper.c | |
parent | 682184e9b9a6f67b108209651ad2ce90aae9ec9d (diff) |
spl: Convert mmc to spl_load
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 config SYS_MMCSD_RAW_MODE. This ensures we can inline spl_load
correctly when a board only boots from filesystems. We still need to check
for SPL_MMC, since some boards enable configure raw mode even without MMC
support.
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/ddr/imx/phy/helper.c')
0 files changed, 0 insertions, 0 deletions