summaryrefslogtreecommitdiffstats
path: root/flashchips.c
diff options
context:
space:
mode:
authorMattias Mattsson <vitplister@gmail.com>2011-08-25 22:44:11 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2011-08-25 22:44:11 +0000
commitfca3b012dae98c852e2dd492b191e2cecf728583 (patch)
tree8a7a9ab9f282b555bec39a58e833f3cb384cc8b7 /flashchips.c
parent14ab8d456a994ec3d84aaa43cc5e20a580aac0c0 (diff)
downloadast2050-flashrom-fca3b012dae98c852e2dd492b191e2cecf728583.zip
ast2050-flashrom-fca3b012dae98c852e2dd492b191e2cecf728583.tar.gz
Add support for the Sharp LH28F008BJT-BTLZ1 chip
Tested by Mattias Mattsson <vitplister@gmail.com> on a PowerPC box. Corresponding to flashrom svn r1420. Signed-off-by: Mattias Mattsson <vitplister@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'flashchips.c')
-rw-r--r--flashchips.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/flashchips.c b/flashchips.c
index 4d741a0..d7a1b9b 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -5379,6 +5379,36 @@ const struct flashchip flashchips[] = {
{
.vendor = "Sharp",
+ .name = "LH28F008BJT-BTLZ1",
+ .bustype = BUS_PARALLEL,
+ .manufacture_id = SHARP_ID,
+ .model_id = SHARP_LH28F008BJxxPB,
+ .total_size = 1024,
+ .page_size = 64 * 1024,
+ .tested = TEST_OK_PREW,
+ .probe = probe_82802ab,
+ .probe_timing = TIMING_ZERO,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = {
+ {8 * 1024, 8},
+ {64 * 1024, 15}
+ },
+ .block_erase = erase_block_82802ab,
+ }, {
+ .eraseblocks = { {1024 * 1024, 1} },
+ .block_erase = erase_sector_49lfxxxc,
+ }
+ },
+ .unlock = unlock_lh28f008bjt,
+ .write = write_82802ab,
+ .read = read_memmapped,
+ .voltage = {2700, 3600},
+ },
+
+ {
+ .vendor = "Sharp",
.name = "LHF00L04",
.bustype = BUS_FWH, /* A/A Mux */
.manufacture_id = SHARP_ID,
OpenPOWER on IntegriCloud