summaryrefslogtreecommitdiff
path: root/board/cmc_pu2/load_sernum_ethaddr.c
Commit message (Collapse)AuthorAgeLines
* cmc_pu2: fix implicit declaration of function 'eth_setenv_enetaddr'Jean-Christophe PLAGNIOL-VILLARD2009-03-22-0/+1
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* cmc_pu2: fix misc_init_r prototypeJean-Christophe PLAGNIOL-VILLARD2009-03-22-3/+5
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* cmc_pu2: get mac address from environmentMike Frysinger2009-03-20-15/+3
| | | | | | | | | | | | 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>
* Some code cleanup for GCC 4.xWolfgang Denk2006-03-11-2/+2
|
* Initialize serial# and ethaddr from manufacturer data in EEPROM on CMC-PU2Wolfgang Denk2005-08-19-0/+122
Patch by Martin Krause, 08 Jun 2005