mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
net: Fix net buffer initialization
A new non-static function net_init() will initialize buffers and read from the environment. Only update from the env on each entry to NetLoop(). Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -436,6 +436,7 @@ extern IPaddr_t Mcast_addr;
|
||||
#endif
|
||||
|
||||
/* Initialize the network adapter */
|
||||
extern void net_init(void);
|
||||
extern int NetLoop(enum proto_t);
|
||||
|
||||
/* Shutdown adapters and cleanup */
|
||||
|
Reference in New Issue
Block a user