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();
|
||||
#endif
|
||||
serialboot();
|
||||
#ifdef CSR_ETHMAC_BASE
|
||||
#ifdef CSR_ETHPHY_MODE_DETECTION_MODE_ADDR
|
||||
eth_mode();
|
||||
#endif
|
||||
#ifdef CSR_ETHMAC_BASE
|
||||
netboot();
|
||||
#endif
|
||||
printf("No boot medium found\n");
|
||||
|
|
Loading…
Reference in New Issue