diff options
author | Simon Glass <sjg@chromium.org> | 2016-09-24 18:20:05 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-10-06 15:06:59 -0400 |
commit | dd6bf9025c2fd8ef0860e6e3ff4c12bc202fc64a (patch) | |
tree | a2bd8701f92f3107469250fff8b1b93d2d922768 /include/spl.h | |
parent | 548b3ee73ca6fc042b85e0b171be36d942eeffb5 (diff) | |
download | u-boot-dd6bf9025c2fd8ef0860e6e3ff4c12bc202fc64a.tar.gz u-boot-dd6bf9025c2fd8ef0860e6e3ff4c12bc202fc64a.tar.xz u-boot-dd6bf9025c2fd8ef0860e6e3ff4c12bc202fc64a.zip |
spl: Convert spl_ymodem_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 'include/spl.h')
-rw-r--r-- | include/spl.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/spl.h b/include/spl.h index fd6ac01084..78855214f1 100644 --- a/include/spl.h +++ b/include/spl.h @@ -181,9 +181,6 @@ struct spl_image_loader { .load_image = __method, \ } -/* YMODEM SPL functions */ -int spl_ymodem_load_image(struct spl_boot_device *bootdev); - /* SPI SPL functions */ int spl_spi_load_image(struct spl_boot_device *bootdev); |