Debian Codegraph @

flashchips/catalyst.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 = "Catalyst",
23 .name = "CAT28F512",
24 .bustype = BUS_PARALLEL,
25 .manufacture_id = CATALYST_ID,
26 .model_id = CATALYST_CAT28F512,
27 .total_size = 64,
28 .page_size = 0, /* unused */
29 .feature_bits = 0,
30 .tested = {.probe = OK, .read = OK, .erase = BAD, .write = BAD, .wp = NA},
31 .probe = PROBE_JEDEC, /* FIXME! */
32 .probe_timing = TIMING_ZERO,
33 .block_erasers =
34 {
35 {
36 .eraseblocks = { {64 * 1024, 1} },
37 .block_erase = NO_BLOCK_ERASE_FUNC, /* TODO */
38 },
39 },
40 .write = 0, /* TODO */
41 .read = READ_MEMMAPPED,
42 .voltage = {4500, 5500},
43 },