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;