flashrom: Changed read count

This commit is contained in:
Markus Koch 2016-12-06 16:47:31 +01:00
parent c38d926569
commit f55d735855

View File

@ -164,7 +164,7 @@ begin
status <= spif_data_out(7 downto 0); status <= spif_data_out(7 downto 0);
end if; end if;
when LOADPAGE => 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 if done then
report "Load page done." severity note; report "Load page done." severity note;
end if; end if;