diff options
author | Chris Zankel <chris@zankel.net> | 2016-08-10 15:36:43 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-08-15 22:46:38 (GMT) |
commit | de5e5cea022ab44006ff1edf45a39f0943fb9dff (patch) | |
tree | 8dbaf0260ec277035ecb514d8437bd4cd05de70e /include | |
parent | f225d39d30935c3d27271bee676ef554fa9b0f3c (diff) | |
download | u-boot-de5e5cea022ab44006ff1edf45a39f0943fb9dff.tar.xz |
xtensa: add support for the xtensa processor architecture [1/2]
The Xtensa processor architecture is a configurable, extensible,
and synthesizable 32-bit RISC processor core provided by Cadence.
This is the first part of the basic architecture port with changes to
common files. The 'arch/xtensa' directory, and boards and additional
drivers will be in separate commits.
Signed-off-by: Chris Zankel <chris@zankel.net>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/image.h | 1 | ||||
-rw-r--r-- | include/linux/stat.h | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/image.h b/include/image.h index 734def3..64da722 100644 --- a/include/image.h +++ b/include/image.h @@ -200,6 +200,7 @@ enum { IH_ARCH_ARM64, /* ARM64 */ IH_ARCH_ARC, /* Synopsys DesignWare ARC */ IH_ARCH_X86_64, /* AMD x86_64, Intel and Via */ + IH_ARCH_XTENSA, /* Xtensa */ IH_ARCH_COUNT, }; diff --git a/include/linux/stat.h b/include/linux/stat.h index cef6369..1af0876 100644 --- a/include/linux/stat.h +++ b/include/linux/stat.h @@ -126,7 +126,7 @@ struct stat { #endif /* __MIPS__ */ -#if defined(__AVR32__) || defined(__SH__) +#if defined(__AVR32__) || defined(__SH__) || defined(__XTENSA__) struct stat { unsigned long st_dev; @@ -149,7 +149,7 @@ struct stat { unsigned long __unused5; }; -#endif /* __AVR32__ || __SH__ */ +#endif /* __AVR32__ || __SH__ || __XTENSA__ */ #ifdef __cplusplus } |