summaryrefslogtreecommitdiff
path: root/board/cmc_pu2/load_sernum_ethaddr.c
AgeCommit message (Collapse)Author
2009-03-22cmc_pu2: fix implicit declaration of function 'eth_setenv_enetaddr'Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-03-22cmc_pu2: fix misc_init_r prototypeJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-03-20cmc_pu2: get mac address from environmentMike Frysinger
The environment is the canonical storage location of the mac address, so we're killing off the global data location and moving everything to querying the env directly. Also rename load_sernum_ethaddr() to misc_init_r() so we don't need to handle this board specially in common ARM code. Signed-off-by: Mike Frysinger <vapier@gentoo.org> CC: Ben Warren <biggerbadderben@gmail.com>
2006-03-11Some code cleanup for GCC 4.xWolfgang Denk
2005-08-19Initialize serial# and ethaddr from manufacturer data in EEPROM on CMC-PU2Wolfgang Denk
Patch by Martin Krause, 08 Jun 2005