Do not look for fmap if layout file is provided

When user passes in layout file in the command line, there is no point
in trying to find the fmap in the supplied binary image, leave alone
the chip.

Let's not try searching for fmap when layout is provided.

TEST=used flashrom with a layout file, observed that id does not try
     retrieving the layout from the flash chip.

Change-Id: Ie4c00fc2eeb4b58c7e130db510308e70aa45ccc3
Signed-off-by: Vadim Bendebury <>
1 file changed