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

Unified Diff: hwaccess.h

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: hwaccess.h
diff --git a/hwaccess.h b/hwaccess.h
index 63a2bf2507dc3ba1b38668e91ef57e1800a94b83..36cd6bf44bf286e3a70d358813b7491c0eaf20f1 100644
--- a/hwaccess.h
+++ b/hwaccess.h
@@ -24,7 +24,7 @@
#ifndef __HWACCESS_H__
#define __HWACCESS_H__ 1
-#if defined (__i386__) || defined (__x86_64__)
+#if defined (__i386__) || defined (__x86_64__) || defined(__arm__)
#if defined(__GLIBC__)
#include <sys/io.h>
#endif
@@ -326,6 +326,10 @@ int libpayload_wrmsr(int addr, msr_t msr);
/* PCI port I/O is not yet implemented on MIPS. */
+#elif defined(__arm__)
+
+/* Non memory mapped I/O is not supported on ARM. */
+
#else
#error Unknown architecture, please check if it supports PCI port IO.

Powered by Google App Engine
This is Rietveld 408576698