diff options
author | Joseph C. Lehner <joseph.c.lehner@gmail.com> | 2016-01-16 23:45:25 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2016-01-16 23:45:25 +0000 |
commit | 41a940c641a7ddba77d04c93e01280d20a3a354a (patch) | |
tree | 1d1e9e3e05d2fa18a228ef22ef0f99873c767ab4 /flashrom.c | |
parent | 07db3ca3c3893208b62018b43302f2c6bdab6935 (diff) | |
download | flashrom-41a940c641a7ddba77d04c93e01280d20a3a354a.zip flashrom-41a940c641a7ddba77d04c93e01280d20a3a354a.tar.gz |
Add atapromise programmer
Supported controllers are Promise PDC20262 (FastTrak66/Ultra66),
PDC20265 (FastTrak100 Lite/Ultra100), PDC20267 (FastTrak100/Ultra100).
At least the Ultra100 only has address lines A0-A14 wired up, limiting
addressable chip size to 32 kB. The flash chips mounted on those
controllers usually is 128 kB, i.e. parts of the flash chip are
inaccessible. As a workaround, the driver implicitly truncates the
size of all flash chips to 32 kB. Works well for the factory installed
flash.
Do NOT use as a generic programmer for chips >32 kB.
Corresponding to flashrom svn r1916.
Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Urja Rannikko <urjaman@gmail.com>
Diffstat (limited to 'flashrom.c')
-rw-r--r-- | flashrom.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -182,6 +182,18 @@ const struct programmer_entry programmer_table[] = { }, #endif +#if CONFIG_ATAPROMISE == 1 + { + .name = "atapromise", + .type = PCI, + .devs.dev = ata_promise, + .init = atapromise_init, + .map_flash_region = atapromise_map, + .unmap_flash_region = fallback_unmap, + .delay = internal_delay, + }, +#endif + #if CONFIG_IT8212 == 1 { .name = "it8212", |