Debian Codegraph @

flashchips/ti.c

raw
1 /*
2 * This file is part of the flashrom project.
3 *
4 * Copyright (C) 2000 Silicon Integrated System Corporation
5 * Copyright (C) 2004 Tyan Corp
6 * Copyright (C) 2005-2008 coresystems GmbH <[email protected]>
7 * Copyright (C) 2006-2009 Carl-Daniel Hailfinger
8 * Copyright (C) 2009 Sean Nelson <[email protected]>
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 */
20
21 {
22 .vendor = "TI",
23 .name = "TMS29F002RB",
24 .bustype = BUS_PARALLEL,
25 .manufacture_id = TI_OLD_ID,
26 .model_id = TI_TMS29F002RB,
27 .total_size = 256,
28 .page_size = 16384, /* Non-uniform sectors */
29 .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET,
30 .tested = TEST_UNTESTED,
31 .probe = PROBE_JEDEC,
32 .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */
33 .block_erasers =
34 {
35 {
36 .eraseblocks = {
37 {16 * 1024, 1},
38 {8 * 1024, 2},
39 {32 * 1024, 1},
40 {64 * 1024, 3},
41 },
42 .block_erase = JEDEC_SECTOR_ERASE,
43 }, {
44 .eraseblocks = { {256 * 1024, 1} },
45 .block_erase = JEDEC_CHIP_BLOCK_ERASE,
46 },
47 },
48 .write = WRITE_JEDEC1,
49 .read = READ_MEMMAPPED,
50 .voltage = {4500, 5500},
51 },
52
53 {
54 .vendor = "TI",
55 .name = "TMS29F002RT",
56 .bustype = BUS_PARALLEL,
57 .manufacture_id = TI_OLD_ID,
58 .model_id = TI_TMS29F002RT,
59 .total_size = 256,
60 .page_size = 16384, /* Non-uniform sectors */
61 .feature_bits = FEATURE_ADDR_2AA | FEATURE_EITHER_RESET,
62 .tested = TEST_UNTESTED,
63 .probe = PROBE_JEDEC,
64 .probe_timing = TIMING_ZERO, /* Datasheet has no timing info specified */
65 .block_erasers =
66 {
67 {
68 .eraseblocks = {
69 {64 * 1024, 3},
70 {32 * 1024, 1},
71 {8 * 1024, 2},
72 {16 * 1024, 1},
73 },
74 .block_erase = JEDEC_SECTOR_ERASE,
75 }, {
76 .eraseblocks = { {256 * 1024, 1} },
77 .block_erase = JEDEC_CHIP_BLOCK_ERASE,
78 },
79 },
80 .write = WRITE_JEDEC1,
81 .read = READ_MEMMAPPED,
82 .voltage = {4500, 5500},
83 },