Debian Codegraph @

flashchips/bright.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 = "Bright",
23 .name = "BM29F040",
24 .bustype = BUS_PARALLEL,
25 .manufacture_id = BRIGHT_ID,
26 .model_id = BRIGHT_BM29F040,
27 .total_size = 512,
28 .page_size = 64 * 1024,
29 .feature_bits = FEATURE_EITHER_RESET,
30 .tested = TEST_OK_PR,
31 .probe = PROBE_JEDEC,
32 .probe_timing = TIMING_ZERO,
33 .block_erasers =
34 {
35 {
36 .eraseblocks = { {64 * 1024, 8} },
37 .block_erase = JEDEC_SECTOR_ERASE,
38 }, {
39 .eraseblocks = { {512 * 1024, 1} },
40 .block_erase = JEDEC_CHIP_BLOCK_ERASE,
41 },
42 },
43 .write = WRITE_JEDEC1,
44 .read = READ_MEMMAPPED,
45 .voltage = {4500, 5500},
46 },