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

Side by Side Diff: spi.c

Issue 3162005: add it8500 support (Closed) Base URL: ssh://git@gitrw.chromium.org/flashrom
Patch Set: Created 10 years, 4 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 | « programmer.h ('k') | 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) 2007, 2008, 2009 Carl-Daniel Hailfinger 4 * Copyright (C) 2007, 2008, 2009 Carl-Daniel Hailfinger
5 * Copyright (C) 2008 coresystems GmbH 5 * Copyright (C) 2008 coresystems GmbH
6 * 6 *
7 * This program is free software; you can redistribute it and/or modify 7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by 8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License. 9 * the Free Software Foundation; version 2 of the License.
10 * 10 *
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 .write_256 = ich_spi_write_256, 47 .write_256 = ich_spi_write_256,
48 }, 48 },
49 49
50 { /* SPI_CONTROLLER_ICH9 */ 50 { /* SPI_CONTROLLER_ICH9 */
51 .command = ich_spi_send_command, 51 .command = ich_spi_send_command,
52 .multicommand = ich_spi_send_multicommand, 52 .multicommand = ich_spi_send_multicommand,
53 .read = ich_spi_read, 53 .read = ich_spi_read,
54 .write_256 = ich_spi_write_256, 54 .write_256 = ich_spi_write_256,
55 }, 55 },
56 56
57 { /* SPI_CONTROLLER_IT85XX */
58 .command = it85xx_spi_send_command,
59 .multicommand = default_spi_send_multicommand,
60 .read = ich_spi_read,
61 .write_256 = ich_spi_write_256,
62 },
63
57 { /* SPI_CONTROLLER_IT87XX */ 64 { /* SPI_CONTROLLER_IT87XX */
58 .command = it8716f_spi_send_command, 65 .command = it8716f_spi_send_command,
59 .multicommand = default_spi_send_multicommand, 66 .multicommand = default_spi_send_multicommand,
60 .read = it8716f_spi_chip_read, 67 .read = it8716f_spi_chip_read,
61 .write_256 = it8716f_spi_chip_write_256, 68 .write_256 = it8716f_spi_chip_write_256,
62 }, 69 },
63 70
64 { /* SPI_CONTROLLER_SB600 */ 71 { /* SPI_CONTROLLER_SB600 */
65 .command = sb600_spi_send_command, 72 .command = sb600_spi_send_command,
66 .multicommand = default_spi_send_multicommand, 73 .multicommand = default_spi_send_multicommand,
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 #if defined(__i386__) || defined(__x86_64__) 266 #if defined(__i386__) || defined(__x86_64__)
260 case SPI_CONTROLLER_ICH7: 267 case SPI_CONTROLLER_ICH7:
261 /* Return BBAR for ICH chipsets. */ 268 /* Return BBAR for ICH chipsets. */
262 return ichspi_bbar; 269 return ichspi_bbar;
263 #endif 270 #endif
264 #endif 271 #endif
265 default: 272 default:
266 return 0; 273 return 0;
267 } 274 }
268 } 275 }
OLDNEW
« no previous file with comments | « programmer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698