summaryrefslogtreecommitdiff
path: root/cleopatre/u-boot-1.1.6/net
diff options
context:
space:
mode:
authorCyril Jourdan2012-08-21 15:46:57 +0200
committerCyril Jourdan2012-09-20 11:21:18 +0200
commit368bf940a257b942ebbe4f0b0141b179ed032127 (patch)
tree69eedce0a9c29ad2f844942f88c6a9d0245e772d /cleopatre/u-boot-1.1.6/net
parent284f82b2964fa8cba3235702b46a0a2f480788bd (diff)
{cleo, common}: change eth prefix in NVRAM fields into eth1, refs #2961
Diffstat (limited to 'cleopatre/u-boot-1.1.6/net')
-rw-r--r--cleopatre/u-boot-1.1.6/net/spidupd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cleopatre/u-boot-1.1.6/net/spidupd.c b/cleopatre/u-boot-1.1.6/net/spidupd.c
index e0b933ce9e..bfcabe7b13 100644
--- a/cleopatre/u-boot-1.1.6/net/spidupd.c
+++ b/cleopatre/u-boot-1.1.6/net/spidupd.c
@@ -278,8 +278,8 @@ static __inline__ void find_mac_addresses(bd_t* bd, unsigned char eth[6], unsign
spidcom_nvram_t *nvram = (spidcom_nvram_t *)(bd->bi_nvram_addr);
/* SPI direct can access to flash only through 32bits */
- lsb = *((uint32_t*)nvram->eth_address);
- msb = *(((uint32_t*)nvram->eth_address)+1);
+ lsb = *((uint32_t*)nvram->eth1_address);
+ msb = *(((uint32_t*)nvram->eth1_address)+1);
msb &= 0x0000FFFF;
/* Store this MAC address */