diff options
author | Paul Kocialkowski | 2015-04-27 10:20:22 +0200 |
---|---|---|
committer | Tom Rini | 2015-05-10 07:27:19 -0400 |
commit | 91199f4a5a21a7cf9dd9e7c05e295a042f8c2b7e (patch) | |
tree | bb29559939e9efbcaa5dfba36ebd9af6d5097739 /drivers/serial | |
parent | 895b5d65c7163436f06fa95281538f43e1a41d9e (diff) |
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: Paul Kocialkowski <contact@paulk.fr>
[trini: Fix a thinko in the SPL_EXT_SUPPORT + SPL_OS conversion, make part be
__maybe_unused]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/serial')
0 files changed, 0 insertions, 0 deletions