Coldfire: M5271EVB: Remove usage of CONFIG_SYS_FECI2C

Discontinue the use of CONFIG_SYS_FECI2C (only used by M5271EVB).
Use read-modify-write to activate the FEC pins without disabling I2C.

Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com>
This commit is contained in:
Richard Retanubun 2009-01-23 10:47:13 -05:00 committed by John Rigby
parent ee73cc59ab
commit d1ef25dd81
1 changed files with 2 additions and 1 deletions

View File

@ -219,7 +219,8 @@ int fecpin_setclear(struct eth_device *dev, int setclear)
{
if (setclear) {
/* Enable Ethernet pins */
mbar_writeByte(MCF_GPIO_PAR_FECI2C, CONFIG_SYS_FECI2C);
mbar_writeByte(MCF_GPIO_PAR_FECI2C,
(mbar_readByte(MCF_GPIO_PAR_FECI2C) | 0xF0));
} else {
}