From f55d735855c986279d8dfefa42539432dd40162f Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Tue, 6 Dec 2016 16:47:31 +0100 Subject: [PATCH] flashrom: Changed read count --- 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 8673932..7d4101d 100644 --- a/cores/flashrom-wb/flashrom_controller.vhd +++ b/cores/flashrom-wb/flashrom_controller.vhd @@ -164,7 +164,7 @@ begin status <= spif_data_out(7 downto 0); end if; when LOADPAGE => - run_command_single(24, 8, 34, 16, FLASHROM_COMMAND_CONT_ARRAY_READ & page); + run_command_single(24, 8, 34, 256/3+3, FLASHROM_COMMAND_CONT_ARRAY_READ & page); -- TODO: This will read one byte too far if done then report "Load page done." severity note; end if;