From: Florent Kermarrec Date: Sat, 4 Jul 2015 19:04:23 +0000 (+0200) Subject: software/bios: call eth_mode only if we have an ethernet mac (we don't need to call... X-Git-Tag: 24jan2021_ls180~2215 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=23541b59499078a0e43e0a16a51849c56dc87764;p=litex.git 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) --- diff --git a/software/bios/main.c b/software/bios/main.c index 104c7f35..938ebe3e 100644 --- a/software/bios/main.c +++ b/software/bios/main.c @@ -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");