Skip to content

Commit

Permalink
software/bios: move romboot after serialboot and netboot
Browse files Browse the repository at this point in the history
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.
enjoy-digital committed Oct 13, 2015
1 parent e96eba4 commit f7787c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions misoc/software/bios/main.c
Original file line number Diff line number Diff line change
@@ -510,16 +510,16 @@ 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
#ifdef CSR_ETHPHY_MODE_DETECTION_MODE_ADDR
eth_mode();
#endif
netboot();
#endif
#ifdef ROM_BOOT_ADDRESS
romboot();
#endif
printf("No boot medium found\n");
}

0 comments on commit f7787c3

Please sign in to comment.