software/bios: move romboot after serialboot and netboot
On designs using romboot (firmware embedded in ram blocks), we generally upload new firmwares with serialboot and netboot for prototyping. Moving romboot after serialboot and netboot avoid manual interrupts of the boot sequence.
This commit is contained in:
parent
e96eba4493
commit
f7787c3c13
|
@ -510,9 +510,6 @@ 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
|
||||||
|
@ -520,6 +517,9 @@ 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 New Issue