Commit Graph

5 Commits

Author SHA1 Message Date
Jean-Christophe PLAGNIOL-VILLARD
118d168035 cmc_pu2: fix implicit declaration of function 'eth_setenv_enetaddr'
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-03-22 14:28:14 +01:00
Jean-Christophe PLAGNIOL-VILLARD
176c4a982c cmc_pu2: fix misc_init_r prototype
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-03-22 14:28:13 +01:00
Mike Frysinger
92b50ffef9 cmc_pu2: get mac address from environment
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>
2009-03-20 22:39:12 +01:00
Wolfgang Denk
d52fb7e3d1 Some code cleanup for GCC 4.x 2006-03-11 22:53:33 +01:00
Wolfgang Denk
c7db9a3805 Initialize serial# and ethaddr from manufacturer data in EEPROM on CMC-PU2
Patch by Martin Krause, 08 Jun 2005
2005-08-19 00:53:02 +02:00