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:
Florent Kermarrec 2015-07-04 21:04:23 +02:00
parent 10eb07526d
commit 23541b5949
1 changed files with 1 additions and 1 deletions

View File

@ -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");