From ddb5d9774a5341b85986217939da0f8a35513024 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 12 Aug 2014 10:50:18 +0200 Subject: add support for xtensa dc233c variant. use uImage, which works with a patched Qemu. Thanks to Max Filippov for fixes and ideas. --- package/u-boot/patches/patch-common_image_c | 10 ++++++++++ package/u-boot/patches/patch-include_image_h | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 package/u-boot/patches/patch-common_image_c create mode 100644 package/u-boot/patches/patch-include_image_h (limited to 'package/u-boot') diff --git a/package/u-boot/patches/patch-common_image_c b/package/u-boot/patches/patch-common_image_c new file mode 100644 index 000000000..6dc82212e --- /dev/null +++ b/package/u-boot/patches/patch-common_image_c @@ -0,0 +1,10 @@ +--- u-boot-2014.07.orig/common/image.c 2014-07-14 19:16:45.000000000 +0200 ++++ u-boot-2014.07/common/image.c 2014-08-11 13:41:05.204369615 +0200 +@@ -85,6 +85,7 @@ static const table_entry_t uimage_arch[] + { IH_ARCH_SANDBOX, "sandbox", "Sandbox", }, + { IH_ARCH_ARM64, "arm64", "AArch64", }, + { IH_ARCH_ARC, "arc", "ARC", }, ++ { IH_ARCH_XTENSA, "xtensa", "XTENSA", }, + { -1, "", "", }, + }; + diff --git a/package/u-boot/patches/patch-include_image_h b/package/u-boot/patches/patch-include_image_h new file mode 100644 index 000000000..76b12b1ea --- /dev/null +++ b/package/u-boot/patches/patch-include_image_h @@ -0,0 +1,10 @@ +--- u-boot-2014.07.orig/include/image.h 2014-07-14 19:16:45.000000000 +0200 ++++ u-boot-2014.07/include/image.h 2014-08-11 13:46:36.186486117 +0200 +@@ -173,6 +173,7 @@ struct lmb; + #define IH_ARCH_OPENRISC 21 /* OpenRISC 1000 */ + #define IH_ARCH_ARM64 22 /* ARM64 */ + #define IH_ARCH_ARC 23 /* Synopsys DesignWare ARC */ ++#define IH_ARCH_XTENSA 24 /* Xtensa */ + + /* + * Image Types -- cgit v1.2.3