mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 22:20:45 +00:00
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:
parent
ee73cc59ab
commit
d1ef25dd81
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue