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 | 770831af85564c0be505e5c96ec9c49218293420 (patch) | |
tree | 340b3f1f7464cfe2a6ef92e2b4e9b7d48b559f41 /platform.h | |
parent | f3973600404204013c403625a11bf434dade628c (diff) | |
download | flashrom-770831af85564c0be505e5c96ec9c49218293420.zip flashrom-770831af85564c0be505e5c96ec9c49218293420.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 |