mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
soc/software/bios/main: give priority to romboot over serialboot/netboot
This commit is contained in:
parent
9913da5ac9
commit
492f276247
1 changed files with 3 additions and 3 deletions
|
@ -499,6 +499,9 @@ static void boot_sequence(void)
|
||||||
if(test_user_abort()) {
|
if(test_user_abort()) {
|
||||||
#ifdef FLASH_BOOT_ADDRESS
|
#ifdef FLASH_BOOT_ADDRESS
|
||||||
flashboot();
|
flashboot();
|
||||||
|
#endif
|
||||||
|
#ifdef ROM_BOOT_ADDRESS
|
||||||
|
romboot();
|
||||||
#endif
|
#endif
|
||||||
serialboot();
|
serialboot();
|
||||||
#ifdef CSR_ETHMAC_BASE
|
#ifdef CSR_ETHMAC_BASE
|
||||||
|
@ -506,9 +509,6 @@ static void boot_sequence(void)
|
||||||
eth_mode();
|
eth_mode();
|
||||||
#endif
|
#endif
|
||||||
netboot();
|
netboot();
|
||||||
#endif
|
|
||||||
#ifdef ROM_BOOT_ADDRESS
|
|
||||||
romboot();
|
|
||||||
#endif
|
#endif
|
||||||
printf("No boot medium found\n");
|
printf("No boot medium found\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue