From 23541b59499078a0e43e0a16a51849c56dc87764 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sat, 4 Jul 2015 21:04:23 +0200 Subject: [PATCH] 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) --- software/bios/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/bios/main.c b/software/bios/main.c index 104c7f355..938ebe3e9 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");