summaryrefslogtreecommitdiff
path: root/cleopatre/u-boot-1.1.6/cpu
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/cpu
parent284f82b2964fa8cba3235702b46a0a2f480788bd (diff)
{cleo, common}: change eth prefix in NVRAM fields into eth1, refs #2961
Diffstat (limited to 'cleopatre/u-boot-1.1.6/cpu')
-rw-r--r--cleopatre/u-boot-1.1.6/cpu/spc300/eth_init.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/cleopatre/u-boot-1.1.6/cpu/spc300/eth_init.S b/cleopatre/u-boot-1.1.6/cpu/spc300/eth_init.S
index a337174206..e27e16c09a 100644
--- a/cleopatre/u-boot-1.1.6/cpu/spc300/eth_init.S
+++ b/cleopatre/u-boot-1.1.6/cpu/spc300/eth_init.S
@@ -93,8 +93,8 @@ ethernet_config:
* default mode is GMII
*/
ldr r3, [r10, #NVRAM_PKG_CFG_OFFSET] /* find pkg_cfg */
- lsr r3, r3, #NVRAM_ETH_MODE_SHIFT
- and r3, r3, #NVRAM_ETH_MODE_MASK /* r3 = eth_mode */
+ lsr r3, r3, #NVRAM_ETH1_MODE_SHIFT
+ and r3, r3, #NVRAM_ETH1_MODE_MASK /* r3 = eth_mode */
cmp r3, #NVRAM_ETH_MODE_MII
beq 10f /* eth_mode = MII */
cmp r3, #NVRAM_ETH_MODE_RMII