From cbda2c13026e19214dc2a4342ea658323a7c848a Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Sun, 26 Feb 2017 20:38:29 +0100 Subject: [PATCH] Corrected bit count for readpage (now works on real HW) --- cores/flashrom-wb/flashrom_controller.vhd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/flashrom-wb/flashrom_controller.vhd b/cores/flashrom-wb/flashrom_controller.vhd index b661913..4852d20 100644 --- a/cores/flashrom-wb/flashrom_controller.vhd +++ b/cores/flashrom-wb/flashrom_controller.vhd @@ -190,7 +190,7 @@ begin delay_cnt := delay_cnt + 1; end if; when LOADPAGE => - run_command_single(32, 8, 34, 258, FLASHROM_COMMAND_CONT_ARRAY_READ & page); + run_command_single(32, 8, 40, 259, FLASHROM_COMMAND_CONT_ARRAY_READ & page); if spif_data_next = '1' or command_is_latched then command_is_latched <= true; spif_data_in_length <= 8;