From 8e8bfa29c1fa3cb318bf893beaa62ac84b38c814 Mon Sep 17 00:00:00 2001 From: hailfinger 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. Signed-off-by: David Hendricks Acked-by: David Hendricks Tested-by: Timo Juhani Lindfors Acked-by: Carl-Daniel Hailfinger git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1492 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- 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.2.1