software/bios: call eth_mode only if we have an ethernet mac (we don't need to call it when we have a hardware UDP/IP stack)
This commit is contained in:
parent
10eb07526d
commit
23541b5949
|
@ -508,10 +508,10 @@ static void boot_sequence(void)
|
||||||
flashboot();
|
flashboot();
|
||||||
#endif
|
#endif
|
||||||
serialboot();
|
serialboot();
|
||||||
|
#ifdef CSR_ETHMAC_BASE
|
||||||
#ifdef CSR_ETHPHY_MODE_DETECTION_MODE_ADDR
|
#ifdef CSR_ETHPHY_MODE_DETECTION_MODE_ADDR
|
||||||
eth_mode();
|
eth_mode();
|
||||||
#endif
|
#endif
|
||||||
#ifdef CSR_ETHMAC_BASE
|
|
||||||
netboot();
|
netboot();
|
||||||
#endif
|
#endif
|
||||||
printf("No boot medium found\n");
|
printf("No boot medium found\n");
|
||||||
|
|
Loading…
Reference in New Issue