diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2015-02-10 08:03:10 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2015-02-10 08:03:10 +0000 |
commit | fb2d77cbaf09497a1d33ac7e3756d7af35b56c8c (patch) | |
tree | 340b3f1f7464cfe2a6ef92e2b4e9b7d48b559f41 /platform.h | |
parent | 66e554bc88a29ec6bc55c86320799c31b5b0e6c1 (diff) | |
download | ast2050-flashrom-fb2d77cbaf09497a1d33ac7e3756d7af35b56c8c.zip ast2050-flashrom-fb2d77cbaf09497a1d33ac7e3756d7af35b56c8c.tar.gz |
Add support for SPARC (maybe)
Was implemented by SPARC newbies, does (cross-)compile but is not run-tested.
Corresponding to flashrom svn r1882.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'platform.h')
-rw-r--r-- | platform.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -45,9 +45,12 @@ defined(__aarch64__) #define __FLASHROM_ARCH__ "arm" #define IS_ARM 1 +#elif defined (__sparc__) || defined (__sparc) + #define __FLASHROM_ARCH__ "sparc" + #define IS_SPARC 1 #endif -#if !(IS_X86 || IS_MIPS || IS_PPC || IS_ARM) +#if !(IS_X86 || IS_MIPS || IS_PPC || IS_ARM || IS_SPARC) #error Unknown architecture #endif |