]> git.sur5r.net Git - u-boot/commit
net: Fix net buffer initialization
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 07:59:22 +0000 (07:59 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 22:53:06 +0000 (17:53 -0500)
commit46c495d52400965fc54ada7e0b9024192b9234ba
tree16ff79ddc1d3fb2b8c2d0798ba3143411f0779ff
parentcb1c991120983b2b2690564eb6e9d3bfd1c6ae7e
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>
include/net.h
net/net.c