diff options
author | Wolfgang Denk <wd@denx.de> | 2007-05-05 18:23:11 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-05-05 18:23:11 +0200 |
commit | 2f15278c2eb911c668b4fe562130b78cf554d139 (patch) | |
tree | ad2e9e57fc940d86a9d219812736fea77585cdf9 /cpu/ppc4xx | |
parent | f51697316ad53e99bf1be354964dacd9fed72a04 (diff) | |
download | u-boot-2f15278c2eb911c668b4fe562130b78cf554d139.tar.gz u-boot-2f15278c2eb911c668b4fe562130b78cf554d139.tar.bz2 u-boot-2f15278c2eb911c668b4fe562130b78cf554d139.zip |
Coding stylke cleanup; update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'cpu/ppc4xx')
-rw-r--r-- | cpu/ppc4xx/4xx_enet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/ppc4xx/4xx_enet.c b/cpu/ppc4xx/4xx_enet.c index be4e82405e..1200d021af 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); |