From 56439427500146bf125b081406275be55fa5d9e3 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Fri, 6 Sep 2002 16:58:14 +0000 Subject: Can now burn 82802ab Corresponding to coreboot v1 svn r633. --- flash_rom.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'flash_rom.c') diff --git a/flash_rom.c b/flash_rom.c index fe1bdf7..85a016a 100644 --- a/flash_rom.c +++ b/flash_rom.c @@ -36,6 +36,7 @@ #include "flash.h" #include "jedec.h" #include "m29f400bt.h" +#include "82802ab.h" struct flashchip flashchips[] = { {"Am29F040B", AMD_ID, AM_29F040B, NULL, 512, 64*1024, @@ -56,6 +57,8 @@ struct flashchip flashchips[] = { probe_jedec, erase_jedec, write_jedec}, {"M29F400BT", ST_ID, ST_M29F400BT , NULL, 512, 64*1024, probe_m29f400bt, erase_m29f400bt, write_linuxbios_m29f400bt}, + {"82802ab", 137, 173 , NULL, 512, 64*1024, + probe_82802ab, erase_82802ab, write_82802ab}, {NULL,} }; @@ -134,6 +137,7 @@ struct flashchip * probe_flash(struct flashchip * flash) exit(1); } flash->virt_addr = bios; + flash->fd_mem = fd_mem; if (flash->probe(flash) == 1) { printf ("%s found at physical address: 0x%lx\n", -- cgit v1.1