mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-03 06:53:18 +02:00
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>
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user