From b286da7ffc0dd978bb6efe4530c3e904b57c4aca Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Mon, 13 Feb 2012 00:35:35 +0000 Subject: 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 Acked-by: David Hendricks Tested-by: Timo Juhani Lindfors Acked-by: Carl-Daniel Hailfinger --- hwaccess.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'hwaccess.c') 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 -- cgit v1.1