mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
microudp.c: add #ifdef on ethmode (bios generation for gmii or mii was broken)
This commit is contained in:
parent
8e639160e3
commit
3710afe7fe
1 changed files with 2 additions and 0 deletions
|
@ -444,6 +444,7 @@ void ethreset(void)
|
|||
busy_wait(2);
|
||||
}
|
||||
|
||||
#ifdef CSR_ETHPHY_MODE_ADDR
|
||||
void ethmode(void)
|
||||
{
|
||||
ethphy_clock_counter_reset_write(1);
|
||||
|
@ -465,6 +466,7 @@ void ethmode(void)
|
|||
|
||||
ethphy_clock_counter_reset_write(1);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue