diff options
author | Simon Glass <sjg@chromium.org> | 2016-09-24 18:20:07 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-10-06 15:07:33 -0400 |
commit | 7557147927fcc4099d62f564f42babc2370834f3 (patch) | |
tree | b216c68d8b2f986c652e3639b5feeec528b8459d /common/spl/spl.c | |
parent | 56df46351ad56551f8ea7e54d217ea6b709e686c (diff) |
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>
Diffstat (limited to 'common/spl/spl.c')
-rw-r--r-- | common/spl/spl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/common/spl/spl.c b/common/spl/spl.c index d2e23bf2d8..9890a889ab 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -401,10 +401,6 @@ static int spl_load_image(u32 boot_device) return spl_net_load_image(&bootdev); #endif #endif -#ifdef CONFIG_SPL_SATA_SUPPORT - case BOOT_DEVICE_SATA: - return spl_sata_load_image(&bootdev); -#endif #ifdef CONFIG_SPL_BOARD_LOAD_IMAGE case BOOT_DEVICE_BOARD: return spl_board_load_image(&bootdev); |