OLD | NEW |
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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 }, | 105 }, |
106 | 106 |
107 { /* SPI_CONTROLLER_WPCE775X */ | 107 { /* SPI_CONTROLLER_WPCE775X */ |
108 .command = wpce775x_spi_send_command, | 108 .command = wpce775x_spi_send_command, |
109 .multicommand = default_spi_send_multicommand, | 109 .multicommand = default_spi_send_multicommand, |
110 .read = wpce775x_spi_read, | 110 .read = wpce775x_spi_read, |
111 .write_256 = wpce775x_spi_write_256, | 111 .write_256 = wpce775x_spi_write_256, |
112 }, | 112 }, |
113 | 113 |
114 #endif | 114 #endif |
| 115 #if defined(__arm__) |
| 116 { /* SPI_CONTROLLER_TEGRA2 */ |
| 117 .command = tegra2_spi_send_command, |
| 118 .multicommand = default_spi_send_multicommand, |
| 119 .read = tegra2_spi_read, |
| 120 .write_256 = tegra2_spi_write, |
| 121 }, |
| 122 #endif |
115 #endif | 123 #endif |
116 | 124 |
117 #if CONFIG_FT2232_SPI == 1 | 125 #if CONFIG_FT2232_SPI == 1 |
118 { /* SPI_CONTROLLER_FT2232 */ | 126 { /* SPI_CONTROLLER_FT2232 */ |
119 .command = ft2232_spi_send_command, | 127 .command = ft2232_spi_send_command, |
120 .multicommand = default_spi_send_multicommand, | 128 .multicommand = default_spi_send_multicommand, |
121 .read = ft2232_spi_read, | 129 .read = ft2232_spi_read, |
122 .write_256 = ft2232_spi_write_256, | 130 .write_256 = ft2232_spi_write_256, |
123 }, | 131 }, |
124 #endif | 132 #endif |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 #if defined(__i386__) || defined(__x86_64__) | 308 #if defined(__i386__) || defined(__x86_64__) |
301 case SPI_CONTROLLER_ICH7: | 309 case SPI_CONTROLLER_ICH7: |
302 /* Return BBAR for ICH chipsets. */ | 310 /* Return BBAR for ICH chipsets. */ |
303 return ichspi_bbar; | 311 return ichspi_bbar; |
304 #endif | 312 #endif |
305 #endif | 313 #endif |
306 default: | 314 default: |
307 return 0; | 315 return 0; |
308 } | 316 } |
309 } | 317 } |
OLD | NEW |