From 7ec0389354b8fd27ed1d1fb2d4f451e74f40534c Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 24 Sep 2016 18:20:11 -0600 Subject: 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 Reviewed-by: Tom Rini --- include/spl.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/spl.h') diff --git a/include/spl.h b/include/spl.h index d46ddd497f4..d6b2c9079f6 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); -- cgit v1.2.3