diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-09-14 23:36:57 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2013-09-14 23:36:57 +0000 |
commit | 78cd0875a266b106004f786116fbc3d920fe2303 (patch) | |
tree | b988a69e5d311e576fbb29fc4b99cb3ed4e82816 /programmer.h | |
parent | 743babc875d3b65debdbb68576501c1ff6c045a6 (diff) | |
download | flashrom-78cd0875a266b106004f786116fbc3d920fe2303.tar.gz flashrom-78cd0875a266b106004f786116fbc3d920fe2303.tar.bz2 flashrom-78cd0875a266b106004f786116fbc3d920fe2303.zip |
Use ich_generation parameter in enable functions prior to ICH7
Follow the style used from ICH7 onwards to pass ich_generation
parameter to lower-level functions on older ICH chipsets too.
Corresponding to flashrom svn r1747.
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'programmer.h')
-rw-r--r-- | programmer.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/programmer.h b/programmer.h index aca357c2..ef96c9ed 100644 --- a/programmer.h +++ b/programmer.h @@ -554,10 +554,15 @@ int default_spi_write_256(struct flashctx *flash, uint8_t *buf, unsigned int sta int default_spi_write_aai(struct flashctx *flash, uint8_t *buf, unsigned int start, unsigned int len); int register_spi_programmer(const struct spi_programmer *programmer); -/* The following enum is needed by ich_descriptor_tool and ich* code. */ +/* The following enum is needed by ich_descriptor_tool and ich* code as well as in chipset_enable.c. */ enum ich_chipset { CHIPSET_ICH_UNKNOWN, - CHIPSET_ICH7 = 7, + CHIPSET_ICH2 = 2, + CHIPSET_ICH3, + CHIPSET_ICH4, + CHIPSET_ICH5, + CHIPSET_ICH6, + CHIPSET_ICH7, CHIPSET_ICH8, CHIPSET_ICH9, CHIPSET_ICH10, |