Add compatibility mode

Add a compatibility mode to the em100 tool. Right now coreboot
and the Chrome OS build system carry a bunch of work-arounds to
produce two sets of images, one for "real SPI chips" and one for
use with the EM100Pro. Instead, we can (and should) just recognize
these images and have the em100 tool handle them correctly during
upload. em100 --compatibility ... does exactly that.

Signed-off-by: Stefan Reinauer <>
Change-Id: Ie02264facb028841d18ed84680ffa40f45987510
Tested-by: build bot (Jenkins) <>
Reviewed-by: Simon Glass <>
4 files changed