summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx/4xx_enet.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-05-05 18:23:11 +0200
committerWolfgang Denk <wd@denx.de>2007-05-05 18:23:11 +0200
commit2f15278c2eb911c668b4fe562130b78cf554d139 (patch)
treead2e9e57fc940d86a9d219812736fea77585cdf9 /cpu/ppc4xx/4xx_enet.c
parentf51697316ad53e99bf1be354964dacd9fed72a04 (diff)
downloadu-boot-imx-2f15278c2eb911c668b4fe562130b78cf554d139.zip
u-boot-imx-2f15278c2eb911c668b4fe562130b78cf554d139.tar.gz
u-boot-imx-2f15278c2eb911c668b4fe562130b78cf554d139.tar.bz2
Coding stylke cleanup; update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'cpu/ppc4xx/4xx_enet.c')
-rw-r--r--cpu/ppc4xx/4xx_enet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/ppc4xx/4xx_enet.c b/cpu/ppc4xx/4xx_enet.c
index be4e824..1200d02 100644
--- a/cpu/ppc4xx/4xx_enet.c
+++ b/cpu/ppc4xx/4xx_enet.c
@@ -344,7 +344,7 @@ int ppc_4xx_eth_setup_bridge(int devnum, bd_t * bis)
mfsdr(sdr_pfc1, pfc1);
pfc1 &= SDR0_PFC1_SELECT_MASK;
- switch (pfc1) {
+ switch (pfc1) {
case SDR0_PFC1_SELECT_CONFIG_2:
/* 1 x GMII port */
out32 (ZMII_FER, 0x00);
@@ -361,7 +361,7 @@ int ppc_4xx_eth_setup_bridge(int devnum, bd_t * bis)
break;
case SDR0_PFC1_SELECT_CONFIG_6:
/* 2 x SMII ports */
- out32 (ZMII_FER,
+ out32 (ZMII_FER,
((ZMII_FER_SMII) << ZMII_FER_V(0)) |
((ZMII_FER_SMII) << ZMII_FER_V(1)));
out32 (RGMII_FER, 0x00000000);