x86: Add ifdtool for working with Intel Flash Descriptor ROM images

Newer Intel chips require a Management Engine which requires a particular
format for the SPI flash that contains the boot loader. Add a tool that
supports creating and modifying these ROM images.

This tool is from Chrome OS but has been cleaned up to use U-Boot style
and to add comments. A few features have been added also.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2014-11-10 18:00:22 -07:00
parent e5901c94e3
commit cd392fe8a0
3 changed files with 1129 additions and 0 deletions

1039
tools/ifdtool.c Normal file

File diff suppressed because it is too large Load diff