summaryrefslogtreecommitdiff
path: root/package/u-boot
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-08-12 10:50:18 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-08-12 10:51:36 +0200
commitddb5d9774a5341b85986217939da0f8a35513024 (patch)
tree51fac3fdff4c34b5667268a1d1e1e899b7c6460f /package/u-boot
parent66abdde90cb03cfb95978d3b5fecb74110367b66 (diff)
add support for xtensa dc233c variant. use uImage, which works with a patched Qemu. Thanks to Max Filippov for fixes and ideas.
Diffstat (limited to 'package/u-boot')
-rw-r--r--package/u-boot/patches/patch-common_image_c10
-rw-r--r--package/u-boot/patches/patch-include_image_h10
2 files changed, 20 insertions, 0 deletions
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