diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2002-09-06 16:58:14 +0000 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2002-09-06 16:58:14 +0000 |
commit | 56439427500146bf125b081406275be55fa5d9e3 (patch) | |
tree | 5a0b1c587d80a2fcc65fe89acdaa8f203d0d31b3 /flash_rom.c | |
parent | 6041bcda7ac8c8a7470bba58e8b26cdfd5746679 (diff) | |
download | ast2050-flashrom-56439427500146bf125b081406275be55fa5d9e3.zip ast2050-flashrom-56439427500146bf125b081406275be55fa5d9e3.tar.gz |
Can now burn 82802ab
Corresponding to coreboot v1 svn r633.
Diffstat (limited to 'flash_rom.c')
-rw-r--r-- | flash_rom.c | 4 |
1 files changed, 4 insertions, 0 deletions
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", |