]>
git.ipfire.org Git - people/ms/u-boot.git/blob - common/spl/spl_net.c
2 * (C) Copyright 2000-2004
3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6 * Ilya Yanok <ilya.yanok@gmail.com>
8 * SPDX-License-Identifier: GPL-2.0+
14 DECLARE_GLOBAL_DATA_PTR
;
16 void spl_net_load_image(const char *device
)
22 setenv("autoload", "yes");
23 load_addr
= CONFIG_SYS_TEXT_BASE
- sizeof(struct image_header
);
24 rv
= eth_initialize(gd
->bd
);
26 printf("No Ethernet devices found\n");
30 setenv("ethact", device
);
33 printf("Problem booting with BOOTP\n");
36 spl_parse_image_header((struct image_header
*)load_addr
);