1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 14:11:15 +02:00

Factor out fallback_map/unmap, most external programmers don't need and special handling here

Corresponding to flashrom svn r531.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
This commit is contained in:
Uwe Hermann
2009-05-17 23:12:17 +00:00
parent 3def09d401
commit c6915939d9
5 changed files with 17 additions and 22 deletions

View File

@ -64,8 +64,8 @@ const struct programmer_entry programmer_table[] = {
{
.init = nic3com_init,
.shutdown = nic3com_shutdown,
.map_flash_region = nic3com_map,
.unmap_flash_region = nic3com_unmap,
.map_flash_region = fallback_map,
.unmap_flash_region = fallback_unmap,
.chip_readb = nic3com_chip_readb,
.chip_readw = fallback_chip_readw,
.chip_readl = fallback_chip_readl,
@ -77,8 +77,8 @@ const struct programmer_entry programmer_table[] = {
{
.init = satasii_init,
.shutdown = satasii_shutdown,
.map_flash_region = satasii_map,
.unmap_flash_region = satasii_unmap,
.map_flash_region = fallback_map,
.unmap_flash_region = fallback_unmap,
.chip_readb = satasii_chip_readb,
.chip_readw = fallback_chip_readw,
.chip_readl = fallback_chip_readl,