summaryrefslogtreecommitdiff
path: root/include/spl.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-09-25 00:20:11 (GMT)
committerTom Rini <trini@konsulko.com>2016-10-06 19:08:18 (GMT)
commit7ec0389354b8fd27ed1d1fb2d4f451e74f40534c (patch)
tree8e3be70d8af3e9178c35840b5b8dfa04a160e0c5 /include/spl.h
parentea022a3775a723a90ee91dfa100ac95a5379e93d (diff)
downloadu-boot-7ec0389354b8fd27ed1d1fb2d4f451e74f40534c.tar.xz
spl: Convert spl_net_load_image() to use linker list
Add a linker list declaration for this method and remove the explicit switch() code. We need two variants - one for BOOT_DEVICE_CPGMAC and one for BOOT_DEVICE_USBETH. 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 d46ddd4..d6b2c90 100644
--- a/include/spl.h
+++ b/include/spl.h
@@ -181,9 +181,6 @@ struct spl_image_loader {
.load_image = __method, \
}
-/* Ethernet SPL functions */
-int spl_net_load_image(struct spl_boot_device *bootdev);
-
/* SPL FAT image functions */
int spl_load_image_fat(struct blk_desc *block_dev, int partition,
const char *filename);