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

Unified Diff: spi.c

Issue 6731011: Add Tegra2 SPI controller. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/flashrom.git@master
Patch Set: refine comments Created 9 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: spi.c
diff --git a/spi.c b/spi.c
index 0d06a0eaf992e411b1913e675c8ec61ac76cde83..a53aa7f584c294549de070a887bffa13e928d908 100644
--- a/spi.c
+++ b/spi.c
@@ -112,6 +112,14 @@ const struct spi_programmer spi_programmer[] = {
},
#endif
+#if defined(__arm__)
+ { /* SPI_CONTROLLER_TEGRA2 */
+ .command = tegra2_spi_send_command,
+ .multicommand = default_spi_send_multicommand,
+ .read = tegra2_spi_read,
+ .write_256 = tegra2_spi_write,
+ },
+#endif
#endif
#if CONFIG_FT2232_SPI == 1

Powered by Google App Engine
This is Rietveld 408576698