From: Florent Kermarrec Date: Thu, 14 Jan 2016 15:46:42 +0000 (+0100) Subject: soc/software/bios/main: give priority to romboot over serialboot/netboot X-Git-Tag: 24jan2021_ls180~2017 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=492f276247adcb2b0c2a893e9b82db9de9fbb680;p=litex.git soc/software/bios/main: give priority to romboot over serialboot/netboot --- diff --git a/litex/soc/software/bios/main.c b/litex/soc/software/bios/main.c index 7b9ed446..9b587144 100644 --- a/litex/soc/software/bios/main.c +++ b/litex/soc/software/bios/main.c @@ -499,6 +499,9 @@ static void boot_sequence(void) if(test_user_abort()) { #ifdef FLASH_BOOT_ADDRESS flashboot(); +#endif +#ifdef ROM_BOOT_ADDRESS + romboot(); #endif serialboot(); #ifdef CSR_ETHMAC_BASE @@ -506,9 +509,6 @@ static void boot_sequence(void) eth_mode(); #endif netboot(); -#endif -#ifdef ROM_BOOT_ADDRESS - romboot(); #endif printf("No boot medium found\n"); }