Skip to content
Snippets Groups Projects
Commit 91199f4a authored by Paul Kocialkowski's avatar Paul Kocialkowski Committed by Tom Rini
Browse files

spl: spl_mmc: Clearer structure in spl_mmc_load_image and cosmetics


This refactors spl_mmc_load_image to use a switch/case structure and easier
to understand spl_start_uboot checks. This also introduces some more automatic
fallback on the next mmc boot mode as long as it keeps failing.

Lines that go beyond 80 chars are also reduced by reducing the number of tabs.
Debug and error strings are refctored to match a common style.

Signed-off-by: default avatarPaul Kocialkowski <contact@paulk.fr>
[trini: Fix a thinko in the SPL_EXT_SUPPORT + SPL_OS conversion, make part be
 __maybe_unused]
Signed-off-by: default avatarTom Rini <trini@konsulko.com>
parent 895b5d65
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment