soc/intel/skylake: Protect me_progress_rom_values array boundary

me_progress_rom_values array provides detailed information maps to ME
HFSTS2 register value.

There is a chance that ME status value might be over the size of

This commit adds a check before access the array.


Change-Id: I5de569c62b94b0595d3d3ea254f50e312e8c11a4
Signed-off-by: Kane Chen <>
Reviewed-by: Kevin Chiu <>
Reviewed-by: Shelley Chen <>
Reviewed-by: Martin Roth <>
Reviewed-by: Marc Jones <>
Tested-by: build bot (Jenkins) <>
1 file changed