summaryrefslogtreecommitdiffstats
path: root/hwaccess.c
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@google.com>2012-02-13 00:35:35 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2012-02-13 00:35:35 +0000
commitb286da7ffc0dd978bb6efe4530c3e904b57c4aca (patch)
tree95734984a923e7da1c7e20d39c5202a6a715e703 /hwaccess.c
parentbfd89a56353286d6ff393110b590448aa9c39669 (diff)
downloadast2050-flashrom-b286da7ffc0dd978bb6efe4530c3e904b57c4aca.zip
ast2050-flashrom-b286da7ffc0dd978bb6efe4530c3e904b57c4aca.tar.gz
Support compilation for the ARM architecture (little-endian only)
Note: The internal programmer will abort during processor check. This is intentional. The other hardware drivers (except those using port I/O) should work. Corresponding to flashrom svn r1492. Signed-off-by: David Hendricks <dhendrix@google.com> Acked-by: David Hendricks <dhendrix@google.com> Tested-by: Timo Juhani Lindfors <timo.lindfors@iki.fi> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'hwaccess.c')
-rw-r--r--hwaccess.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/hwaccess.c b/hwaccess.c
index 8c89925..51e113e 100644
--- a/hwaccess.c
+++ b/hwaccess.c
@@ -116,6 +116,20 @@ void release_io_perms(void)
{
}
+#elif defined (__arm__)
+
+static inline void sync_primitive(void)
+{
+}
+
+void get_io_perms(void)
+{
+}
+
+void release_io_perms(void)
+{
+}
+
#else
#error Unknown architecture
OpenPOWER on IntegriCloud