From a6adc75cd0d505511fc8e540726c470e2fb1d281 Mon Sep 17 00:00:00 2001 From: Yinan Xu Date: Mon, 30 Dec 2024 14:12:34 +0800 Subject: [PATCH] fix(ref): always call load_flash_bin to init it --- src/test/csrc/difftest/refproxy.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/test/csrc/difftest/refproxy.cpp b/src/test/csrc/difftest/refproxy.cpp index 346e483f6..8f32285c1 100644 --- a/src/test/csrc/difftest/refproxy.cpp +++ b/src/test/csrc/difftest/refproxy.cpp @@ -251,8 +251,6 @@ void RefProxy::display(DiffTestState *dut) { }; void RefProxy::flash_init(const char *flash_bin, size_t size) { - if (!flash_bin) - return; if (load_flash_bin) { load_flash_bin(flash_bin, size); } else if (load_flash_bin_v2) {