summaryrefslogtreecommitdiffstats
path: root/arch.h
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
commit8bed718b50c3d193e79bb1edd762dbf4c4f2d459 (patch)
tree95734984a923e7da1c7e20d39c5202a6a715e703 /arch.h
parente3c882a5d37a1cd80987df154dc7c43b1587a0a1 (diff)
downloadflashrom-8bed718b50c3d193e79bb1edd762dbf4c4f2d459.zip
flashrom-8bed718b50c3d193e79bb1edd762dbf4c4f2d459.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. Tested-by: Timo Juhani Lindfors <timo.lindfors@iki.fi> Corresponding to flashrom svn r1492. Signed-off-by: David Hendricks <dhendrix@google.com> Acked-by: David Hendricks <dhendrix@google.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'arch.h')
-rw-r--r--arch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch.h b/arch.h
index 980fba6..f3f3b0d 100644
--- a/arch.h
+++ b/arch.h
@@ -27,5 +27,7 @@
#define __FLASHROM_ARCH__ "mips"
#elif defined(__powerpc__) || defined(__powerpc64__) || defined(__ppc__) || defined(__ppc64__)
#define __FLASHROM_ARCH__ "ppc"
+#elif defined(__arm__)
+#define __FLASHROM_ARCH__ "arm"
#endif
__FLASHROM_ARCH__
OpenPOWER on IntegriCloud