path: root/arch.h
Commit message (Collapse)AuthorAgeFilesLines
* Unify target OS and CPU architecture checksStefan Tauner2015-01-101-33/+0
| | | | | | | | | | | | | | | | | | | | | | We do CPU architecture checks once for the makefile in arch.h and once for HW access abstraction in hwaccess.c. This patch unifies related files so that they can share the checks to improve maintainability and reduce the chance of inconsistencies. Furthermore, it refines some of the definitions, which - adds "support" for AARCH64 and PPC64, - adds big-endian handling on arm as well as LE handling on PPC64, - fixes compilation of internal.c on AARCH64 and PPC64. Additionally, this patch continues to unify all OS checks in flashrom by adding a new helper macro IS_WINDOWS. The old header file for architecture checking is renamed to platform.h to reflect its broader scope and all new macros are add in there. Corresponding to flashrom svn r1864. Signed-off-by: Stefan Tauner <> Acked-by: Stefan Tauner <>
* Support compilation for the ARM architecture (little-endian only)David Hendricks2012-02-131-0/+2
| | | | | | | | | | | | | 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 <>
* Autodetect target processor architectureCarl-Daniel Hailfinger2011-07-071-0/+31
Enable architecture dependent compilation of individual sub-drivers for the internal programmer. Corresponding to flashrom svn r1366. Signed-off-by: Carl-Daniel Hailfinger <> Acked-by: David Hendricks <>
OpenPOWER on IntegriCloud