Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(989)

Side by Side Diff: flashchips.c

Issue 3636001: mark W25Q32, W25Q64, and W25X10 as tested for erase/read/write (Closed) Base URL: ssh://git@gitrw.chromium.org/flashrom
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of the flashrom project. 2 * This file is part of the flashrom project.
3 * 3 *
4 * Copyright (C) 2000 Silicon Integrated System Corporation 4 * Copyright (C) 2000 Silicon Integrated System Corporation
5 * Copyright (C) 2004 Tyan Corp 5 * Copyright (C) 2004 Tyan Corp
6 * Copyright (C) 2005-2008 coresystems GmbH <stepan@openbios.org> 6 * Copyright (C) 2005-2008 coresystems GmbH <stepan@openbios.org>
7 * Copyright (C) 2006-2009 Carl-Daniel Hailfinger 7 * Copyright (C) 2006-2009 Carl-Daniel Hailfinger
8 * Copyright (C) 2009 Sean Nelson <audiohacked@gmail.com> 8 * Copyright (C) 2009 Sean Nelson <audiohacked@gmail.com>
9 * 9 *
10 * This program is free software; you can redistribute it and/or modify 10 * This program is free software; you can redistribute it and/or modify
(...skipping 6895 matching lines...) Expand 10 before | Expand all | Expand 10 after
6906 }, 6906 },
6907 6907
6908 { 6908 {
6909 .vendor = "Winbond", 6909 .vendor = "Winbond",
6910 .name = "W25Q32", 6910 .name = "W25Q32",
6911 .bustype = CHIP_BUSTYPE_SPI, 6911 .bustype = CHIP_BUSTYPE_SPI,
6912 .manufacture_id = WINBOND_NEX_ID, 6912 .manufacture_id = WINBOND_NEX_ID,
6913 .model_id = W_25Q32, 6913 .model_id = W_25Q32,
6914 .total_size = 4096, 6914 .total_size = 4096,
6915 .page_size = 256, 6915 .page_size = 256,
6916 » » .tested»» = TEST_UNTESTED, 6916 » » .tested»» = TEST_OK_PREW,
6917 .probe = probe_spi_rdid, 6917 .probe = probe_spi_rdid,
6918 .probe_timing = TIMING_ZERO, 6918 .probe_timing = TIMING_ZERO,
6919 .block_erasers = 6919 .block_erasers =
6920 { 6920 {
6921 { 6921 {
6922 .eraseblocks = { {4 * 1024, 1024} }, 6922 .eraseblocks = { {4 * 1024, 1024} },
6923 .block_erase = spi_block_erase_20, 6923 .block_erase = spi_block_erase_20,
6924 }, { 6924 }, {
6925 .eraseblocks = { {32 * 1024, 128} }, 6925 .eraseblocks = { {32 * 1024, 128} },
6926 .block_erase = spi_block_erase_52, 6926 .block_erase = spi_block_erase_52,
(...skipping 15 matching lines...) Expand all
6942 }, 6942 },
6943 6943
6944 { 6944 {
6945 .vendor = "Winbond", 6945 .vendor = "Winbond",
6946 .name = "W25Q64", 6946 .name = "W25Q64",
6947 .bustype = CHIP_BUSTYPE_SPI, 6947 .bustype = CHIP_BUSTYPE_SPI,
6948 .manufacture_id = WINBOND_NEX_ID, 6948 .manufacture_id = WINBOND_NEX_ID,
6949 .model_id = W_25Q64, 6949 .model_id = W_25Q64,
6950 .total_size = 8192, 6950 .total_size = 8192,
6951 .page_size = 256, 6951 .page_size = 256,
6952 » » .tested»» = TEST_OK_PRW, 6952 » » .tested»» = TEST_OK_PREW,
6953 .probe = probe_spi_rdid, 6953 .probe = probe_spi_rdid,
6954 .probe_timing = TIMING_ZERO, 6954 .probe_timing = TIMING_ZERO,
6955 .block_erasers = 6955 .block_erasers =
6956 { 6956 {
6957 { 6957 {
6958 .eraseblocks = { {4 * 1024, 2048} }, 6958 .eraseblocks = { {4 * 1024, 2048} },
6959 .block_erase = spi_block_erase_20, 6959 .block_erase = spi_block_erase_20,
6960 }, { 6960 }, {
6961 .eraseblocks = { {32 * 1024, 256} }, 6961 .eraseblocks = { {32 * 1024, 256} },
6962 .block_erase = spi_block_erase_52, 6962 .block_erase = spi_block_erase_52,
(...skipping 15 matching lines...) Expand all
6978 }, 6978 },
6979 6979
6980 { 6980 {
6981 .vendor = "Winbond", 6981 .vendor = "Winbond",
6982 .name = "W25x10", 6982 .name = "W25x10",
6983 .bustype = CHIP_BUSTYPE_SPI, 6983 .bustype = CHIP_BUSTYPE_SPI,
6984 .manufacture_id = WINBOND_NEX_ID, 6984 .manufacture_id = WINBOND_NEX_ID,
6985 .model_id = W_25X10, 6985 .model_id = W_25X10,
6986 .total_size = 128, 6986 .total_size = 128,
6987 .page_size = 256, 6987 .page_size = 256,
6988 » » .tested»» = TEST_UNTESTED, 6988 » » .tested»» = TEST_OK_PREW,
6989 .probe = probe_spi_rdid, 6989 .probe = probe_spi_rdid,
6990 .probe_timing = TIMING_ZERO, 6990 .probe_timing = TIMING_ZERO,
6991 .block_erasers = 6991 .block_erasers =
6992 { 6992 {
6993 { 6993 {
6994 .eraseblocks = { {4 * 1024, 32} }, 6994 .eraseblocks = { {4 * 1024, 32} },
6995 .block_erase = spi_block_erase_20, 6995 .block_erase = spi_block_erase_20,
6996 }, { 6996 }, {
6997 .eraseblocks = { {64 * 1024, 2} }, 6997 .eraseblocks = { {64 * 1024, 2} },
6998 .block_erase = spi_block_erase_d8, 6998 .block_erase = spi_block_erase_d8,
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after
7757 .probe = probe_wpce775x, 7757 .probe = probe_wpce775x,
7758 .probe_timing = TIMING_ZERO, 7758 .probe_timing = TIMING_ZERO,
7759 /* .block_erasers is generated according to detected flashchip. */ 7759 /* .block_erasers is generated according to detected flashchip. */
7760 .write = write_wpce775x, 7760 .write = write_wpce775x,
7761 .read = read_memmapped, 7761 .read = read_memmapped,
7762 .wp = &wp_wpce775x, 7762 .wp = &wp_wpce775x,
7763 }, 7763 },
7764 7764
7765 { NULL } 7765 { NULL }
7766 }; 7766 };
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698