flashrom: Changed read count

This commit is contained in:
Markus Koch 2016-12-06 16:47:31 +01:00
parent c38d926569
commit f55d735855
1 changed files with 1 additions and 1 deletions

View File

@ -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;