[U-Boot] [PATCH v4 0/3] net: helper functions
Michael Walle
michael at walle.cc
Thu May 10 19:32:11 CEST 2012
This patchset is a split-off from my patch series "Kirkwood: add lschlv2
and lsxhl board support".
Changes:
v4:
- typo fixes (thanks Mike)
- seed all 46bits of the generated ethernet address (suggested by Mike)
v3, v2:
[contained only lsxhl board changes]
Michael Walle (3):
lib: add rand() function
net: add helper to generate random mac address
net: add eth_setenv_enetaddr_by_index()
include/common.h | 4 ++++
include/net.h | 27 +++++++++++++++++++++++++++
lib/Makefile | 1 +
lib/rand.c | 43 +++++++++++++++++++++++++++++++++++++++++++
net/eth.c | 28 ++++++++++++++++++++++++++++
5 files changed, 103 insertions(+), 0 deletions(-)
create mode 100644 lib/rand.c
--
1.7.2.5
More information about the U-Boot
mailing list