mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
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:
+3
-3
@@ -1809,13 +1809,13 @@ void bootloader(void)
|
|||||||
print_string("INCORRECT MACHINE!");
|
print_string("INCORRECT MACHINE!");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Print SW version
|
|
||||||
print_sw_version();
|
|
||||||
|
|
||||||
print_string("\nStarting up...\n");
|
print_string("\nStarting up...\n");
|
||||||
print_string(" Flash controller\n");
|
print_string(" Flash controller\n");
|
||||||
flash_init(1);
|
flash_init(1);
|
||||||
|
|
||||||
|
// Print SW version
|
||||||
|
print_sw_version();
|
||||||
|
|
||||||
// Reset NIC
|
// Reset NIC
|
||||||
reg_bit_set(RTL837X_REG_RESET, RESET_NIC_BIT);
|
reg_bit_set(RTL837X_REG_RESET, RESET_NIC_BIT);
|
||||||
do {
|
do {
|
||||||
|
|||||||
Reference in New Issue
Block a user