1
0
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:
Joe Hershberger
2012-05-23 07:59:22 +00:00
parent cb1c991120
commit 46c495d524
2 changed files with 32 additions and 14 deletions

View File

@@ -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 */