Skip to content
Snippets Groups Projects
Commit 7ec03893 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent ea022a37
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment