summaryrefslogtreecommitdiff
path: root/sysutils/u-boot
diff options
context:
space:
mode:
authormrg <mrg@pkgsrc.org>2021-06-25 08:40:53 +0000
committermrg <mrg@pkgsrc.org>2021-06-25 08:40:53 +0000
commitcce6db9357ae8980c088010423c58aa5a23a76b9 (patch)
tree666bfaba32a8279904a28f7237576c33d1a3d058 /sysutils/u-boot
parentf7b2bbec0ef29bb4673649c8ec4dd39e849a5d91 (diff)
downloadpkgsrc-cce6db9357ae8980c088010423c58aa5a23a76b9.tar.gz
catch up the u-boot-roc-rk3328-cc package with u-boot distinfo/patches
clean up from a few months ago.
Diffstat (limited to 'sysutils/u-boot')
-rw-r--r--sysutils/u-boot/distinfo-2020.07-rc47
-rw-r--r--sysutils/u-boot/patches-2020.07-rc4/patch-include_image.h37
2 files changed, 44 insertions, 0 deletions
diff --git a/sysutils/u-boot/distinfo-2020.07-rc4 b/sysutils/u-boot/distinfo-2020.07-rc4
new file mode 100644
index 00000000000..82e3972f3c3
--- /dev/null
+++ b/sysutils/u-boot/distinfo-2020.07-rc4
@@ -0,0 +1,7 @@
+$NetBSD: distinfo-2020.07-rc4,v 1.1 2021/06/25 08:40:53 mrg Exp $
+
+SHA1 (u-boot-2020.07-rc4.tar.bz2) = 6bd6aaf18c580e0e24221b45de45958b94580df0
+RMD160 (u-boot-2020.07-rc4.tar.bz2) = 21df7e0cff66843e963d07d22c508d81305af35a
+SHA512 (u-boot-2020.07-rc4.tar.bz2) = 81fb2cfaabe2e20addc174798fa7f6506d51bd32aafac6698758417575bd85bb95d476b619e8d78480c0ccef6424f8b6de59c76bc48a555b7b4105acf194f3f8
+Size (u-boot-2020.07-rc4.tar.bz2) = 15333666 bytes
+SHA1 (patch-include_image.h) = 46f9efc0b9bbeea407e18f2b7e02b265dc0b58e1
diff --git a/sysutils/u-boot/patches-2020.07-rc4/patch-include_image.h b/sysutils/u-boot/patches-2020.07-rc4/patch-include_image.h
new file mode 100644
index 00000000000..b251351b6d7
--- /dev/null
+++ b/sysutils/u-boot/patches-2020.07-rc4/patch-include_image.h
@@ -0,0 +1,37 @@
+$NetBSD: patch-include_image.h,v 1.1 2021/06/25 08:40:53 mrg Exp $
+
+Ensure the correct byte order macros are used when image.h is included
+in a host tool.
+
+--- include/image.h.orig 2020-06-20 13:48:00.000000000 +0000
++++ include/image.h 2020-06-20 13:51:12.000000000 +0000
+@@ -16,7 +16,6 @@
+ #define __IMAGE_H__
+
+ #include "compiler.h"
+-#include <asm/byteorder.h>
+ #include <stdbool.h>
+
+ /* Define this to avoid #ifdefs later on */
+@@ -26,6 +25,13 @@ struct fdt_region;
+ #ifdef USE_HOSTCC
+ #include <sys/types.h>
+
++#include <endian.h>
++#if _BYTE_ORDER == _BIG_ENDIAN
++# include <linux/byteorder/big_endian.h>
++#else
++# include <linux/byteorder/little_endian.h>
++#endif
++
+ /* new uImage format support enabled on host */
+ #define IMAGE_ENABLE_FIT 1
+ #define IMAGE_ENABLE_OF_LIBFDT 1
+@@ -40,6 +46,7 @@ struct fdt_region;
+
+ #else
+
++#include <asm/byteorder.h>
+ #include <lmb.h>
+ #include <asm/u-boot.h>
+ #include <command.h>