diff --git a/misoc/software/bios/main.c b/misoc/software/bios/main.c index 1316665bd..0da623add 100644 --- a/misoc/software/bios/main.c +++ b/misoc/software/bios/main.c @@ -510,9 +510,6 @@ 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 @@ -520,6 +517,9 @@ static void boot_sequence(void) eth_mode(); #endif netboot(); +#endif +#ifdef ROM_BOOT_ADDRESS + romboot(); #endif printf("No boot medium found\n"); }