microudp.c: add #ifdef on ethmode (bios generation for gmii or mii was broken)
This commit is contained in:
parent
8e639160e3
commit
3710afe7fe
|
@ -444,6 +444,7 @@ void ethreset(void)
|
||||||
busy_wait(2);
|
busy_wait(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef CSR_ETHPHY_MODE_ADDR
|
||||||
void ethmode(void)
|
void ethmode(void)
|
||||||
{
|
{
|
||||||
ethphy_clock_counter_reset_write(1);
|
ethphy_clock_counter_reset_write(1);
|
||||||
|
@ -465,6 +466,7 @@ void ethmode(void)
|
||||||
|
|
||||||
ethphy_clock_counter_reset_write(1);
|
ethphy_clock_counter_reset_write(1);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue