summaryrefslogtreecommitdiff
path: root/include/spl.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-09-24 18:20:04 -0600
committerTom Rini <trini@konsulko.com>2016-10-06 15:06:59 -0400
commit548b3ee73ca6fc042b85e0b171be36d942eeffb5 (patch)
treed250680a56531e96381c02bc0c41cd8a5f1d61cb /include/spl.h
parentafa6e6c48845bac39a73b41012e8d7a53b13598d (diff)
downloadu-boot-imx-548b3ee73ca6fc042b85e0b171be36d942eeffb5.zip
u-boot-imx-548b3ee73ca6fc042b85e0b171be36d942eeffb5.tar.gz
u-boot-imx-548b3ee73ca6fc042b85e0b171be36d942eeffb5.tar.bz2
spl: Convert spl_nor_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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/spl.h b/include/spl.h
index e26f06e..fd6ac01 100644
--- a/include/spl.h
+++ b/include/spl.h
@@ -181,9 +181,6 @@ struct spl_image_loader {
.load_image = __method, \
}
-/* NOR SPL functions */
-int spl_nor_load_image(struct spl_boot_device *bootdev);
-
/* YMODEM SPL functions */
int spl_ymodem_load_image(struct spl_boot_device *bootdev);