Stop reading layout info when the max layout count has been reached

Corresponding to flashrom svn r1243.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
1 file changed