From efcbc8b4a8b8cb3c2dc366276d4a2d08d30fbba6 Mon Sep 17 00:00:00 2001 From: feelfree69 <43138983+feelfree69@users.noreply.github.com> Date: Mon, 19 Jan 2026 20:32:20 +0100 Subject: [PATCH] Move SW version print after flash initialization The code of print_sw_version() is in BANK1 and needs a proper configured flash controller. --- rtlplayground.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rtlplayground.c b/rtlplayground.c index f45f493..1866e73 100644 --- a/rtlplayground.c +++ b/rtlplayground.c @@ -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 {