mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-07 03:50:41 +09: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
@ -219,7 +219,8 @@ int fecpin_setclear(struct eth_device *dev, int setclear)
|
|||||||
{
|
{
|
||||||
if (setclear) {
|
if (setclear) {
|
||||||
/* Enable Ethernet pins */
|
/* 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 {
|
} else {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user