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

Unified Diff: wpce775x.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
« tegra2_spi.c ('K') | « tegra2_spi.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: wpce775x.c
diff --git a/wpce775x.c b/wpce775x.c
index 264f3fe4e97fdf5b7e9b8e99d7182638aad9bbff..6aa93552d4e29c8147c0532b9d656e44ec253b00 100644
--- a/wpce775x.c
+++ b/wpce775x.c
@@ -38,6 +38,7 @@
* http://sourceforge.net/projects/nuvflashupdate/
*/
+#if defined(__i386__) || defined(__x86_64__)
#include <assert.h>
#include <string.h>
#include <sys/time.h>
@@ -939,3 +940,4 @@ int wpce775x_spi_send_command(unsigned int writecnt, unsigned int readcnt,
msg_pdbg("%s: opcode: 0x%02x\n", __func__, opcode);
return rc;
}
+#endif
« tegra2_spi.c ('K') | « tegra2_spi.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698