[dv/top] Fix chip_flash_ctrl_test timeout

Increase timeout timer

Signed-off-by: Weicai Yang <weicai@google.com>
diff --git a/hw/top_earlgrey/dv/chip_sim_cfg.hjson b/hw/top_earlgrey/dv/chip_sim_cfg.hjson
index 1d7152b..3313ea1 100644
--- a/hw/top_earlgrey/dv/chip_sim_cfg.hjson
+++ b/hw/top_earlgrey/dv/chip_sim_cfg.hjson
@@ -128,7 +128,7 @@
       uvm_test_seq: chip_sw_test_base_vseq
       sw_test: sw/device/benchmarks/coremark/coremark_top_earlgrey
       run_opts: ["+en_uart_logger=1",
-                 "+sw_test_timeout_ns=20000000"]
+                 "+sw_test_timeout_ns=22000000"] // 22ms
     }
 
     // The test below is added in the included tl_access_tests.hjson.
diff --git a/hw/top_earlgrey/dv/env/chip_env_cfg.sv b/hw/top_earlgrey/dv/env/chip_env_cfg.sv
index 8cf5f75..3d79a33 100644
--- a/hw/top_earlgrey/dv/env/chip_env_cfg.sv
+++ b/hw/top_earlgrey/dv/env/chip_env_cfg.sv
@@ -22,7 +22,7 @@
   sw_logger_vif             sw_logger_vif[string];
   string                    sw_images[string];
   virtual sw_test_status_if sw_test_status_vif;
-  uint                      sw_test_timeout_ns = 2_000_000; // 2ms
+  uint                      sw_test_timeout_ns = 5_000_000; // 5ms
 
   // ext component cfgs
   rand uart_agent_cfg m_uart_agent_cfg;