David Hendricks has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/35831 )
Change subject: flashrom: Add support for ARC platform ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/flashrom/+/35831/2/platform.h File platform.h:
https://review.coreboot.org/c/flashrom/+/35831/2/platform.h@130 PS2, Line 130: __arceb__
Hmmm, I can't find any reference for this (only Google results are this […]
Looking at gcc [1] more closely, it seems __BIG_ENDIAN__ and __LITTLE_ENDIAN__ are defined along with __arc__. So perhaps this should become: #elif IS_ARC #if defined(__BIG_ENDIAN__) #define __FLASHROM_BIG_ENDIAN__ 1
I've asked the author on github about that.
[1] https://github.com/gcc-mirror/gcc/blob/master/gcc/config/arc/arc-c.c