]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: Convert spl_sata_load_image() to use linker list
authorSimon Glass <sjg@chromium.org>
Sun, 25 Sep 2016 00:20:07 +0000 (18:20 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 6 Oct 2016 19:07:33 +0000 (15:07 -0400)
commit7557147927fcc4099d62f564f42babc2370834f3
treeb216c68d8b2f986c652e3639b5feeec528b8459d
parent56df46351ad56551f8ea7e54d217ea6b709e686c
spl: Convert spl_sata_load_image() to use linker list

Add a linker list declaration for this method and remove the explicit
switch() code.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/spl/spl.c
common/spl/spl_sata.c
include/spl.h