Move SW version print after flash initialization

The code of print_sw_version() is in BANK1 and needs a proper configured flash controller.
This commit is contained in:
feelfree69
2026-01-19 20:32:20 +01:00
committed by GitHub
parent 13e9dbbc7b
commit efcbc8b4a8
+3 -3
View File
@@ -1809,13 +1809,13 @@ void bootloader(void)
print_string("INCORRECT MACHINE!");
}
// Print SW version
print_sw_version();
print_string("\nStarting up...\n");
print_string(" Flash controller\n");
flash_init(1);
// Print SW version
print_sw_version();
// Reset NIC
reg_bit_set(RTL837X_REG_RESET, RESET_NIC_BIT);
do {