diff options
author | Simon Glass <sjg@chromium.org> | 2016-09-24 18:20:11 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-10-06 15:08:18 -0400 |
commit | 7ec0389354b8fd27ed1d1fb2d4f451e74f40534c (patch) | |
tree | 8e3be70d8af3e9178c35840b5b8dfa04a160e0c5 /include/spl.h | |
parent | ea022a3775a723a90ee91dfa100ac95a5379e93d (diff) | |
download | u-boot-7ec0389354b8fd27ed1d1fb2d4f451e74f40534c.tar.gz |
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.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/spl.h b/include/spl.h index d46ddd497f..d6b2c9079f 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); |