diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2012-05-11 15:53:43 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-05-24 22:22:24 +0200 |
commit | 1b1309f289d6fc9f6ec348686665d25218535030 (patch) | |
tree | be597001b5c27d3ca59da914987ba83a1a558197 /util/ifdtool/ifdtool.h | |
parent | 89ba15a0c176f8c6966938cba290da8a8bd9d714 (diff) | |
download | coreboot-1b1309f289d6fc9f6ec348686665d25218535030.tar.xz |
Add EM100 mode to Intel Firmware Descriptor tool
To avoid having two copies for every firmware descriptor (one for
EM100 use and one for real SPI flash use), add an EM100 mode to
ifdtool that allows to "dumb down" a fast image to the settings
required for the EM100 to work.
Change-Id: I0ed989f0a49316bc63d8627cb5d4bd988ae7a103
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/1039
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'util/ifdtool/ifdtool.h')
-rw-r--r-- | util/ifdtool/ifdtool.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/util/ifdtool/ifdtool.h b/util/ifdtool/ifdtool.h index 057153434d..31361df9bf 100644 --- a/util/ifdtool/ifdtool.h +++ b/util/ifdtool/ifdtool.h @@ -26,6 +26,15 @@ enum spi_frequency { SPI_FREQUENCY_50MHZ = 4, }; +enum component_density { + COMPONENT_DENSITY_512KB = 0, + COMPONENT_DENSITY_1MB = 1, + COMPONENT_DENSITY_2MB = 2, + COMPONENT_DENSITY_4MB = 3, + COMPONENT_DENSITY_8MB = 4, + COMPONENT_DENSITY_16MB = 5, +}; + // flash descriptor typedef struct { uint32_t flvalsig; |