From 7f0f3fab4531c975245bf8f3553ff380ac802fc7 Mon Sep 17 00:00:00 2001 From: Jonathan Kollasch Date: Sun, 1 Jun 2014 10:26:23 +0000 Subject: Add VIA VT6421A LPC programmer driver Due to the mysterious address handling of this chip the user can specify a base address with the offset parameter, e.g.: flashrom -p atavia:offset=0xFFF00000 Thanks to Idwer Vollering for his iterative testing of this code, as well as to Martijn Bastiaan who did the last tests before merging. Corresponding to flashrom svn r1809. Signed-off-by: Jonathan Kollasch Signed-off-by: Stefan Tauner Acked-by: Stefan Tauner --- flashrom.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'flashrom.c') diff --git a/flashrom.c b/flashrom.c index 98101b77..8a2a5b15 100644 --- a/flashrom.c +++ b/flashrom.c @@ -172,6 +172,18 @@ const struct programmer_entry programmer_table[] = { }, #endif +#if CONFIG_ATAVIA == 1 + { + .name = "atavia", + .type = PCI, + .devs.dev = ata_via, + .init = atavia_init, + .map_flash_region = atavia_map, + .unmap_flash_region = fallback_unmap, + .delay = internal_delay, + }, +#endif + #if CONFIG_FT2232_SPI == 1 { .name = "ft2232_spi", -- cgit v1.2.3