[PATCH 1/3] uboot-omap 2015.07: remove old patches

Tara Lorenz tara at terralonza.de
Thu Sep 17 09:54:13 EDT 2015


The removed patches functionality is already contained in newer U-Boot
versions.
---
 .../boot/uboot-omap/patches/002-fix_jffs2.patch    | 34 ----------------------
 .../uboot-omap/patches/003-fix_findfdt_C4.patch    | 11 -------
 2 files changed, 45 deletions(-)
 delete mode 100644 package/boot/uboot-omap/patches/002-fix_jffs2.patch
 delete mode 100644 package/boot/uboot-omap/patches/003-fix_findfdt_C4.patch

diff --git a/package/boot/uboot-omap/patches/002-fix_jffs2.patch b/package/boot/uboot-omap/patches/002-fix_jffs2.patch
deleted file mode 100644
index cba0e25..0000000
--- a/package/boot/uboot-omap/patches/002-fix_jffs2.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-Building boards that have JFFS2 support enabled will fail when using
-U-Boot's builtin GCC library, for example like this:
-
-USE_PRIVATE_LIBGCC=yes ./MAKEALL omap3_evm
-...
-fs/jffs2/libjffs2.o: In function `jffs2_1pass_build_lists':
-fs/jffs2/jffs2_1pass.c:1441: undefined reference to `__aeabi_uldivmod'
-
-This is caused by a u64 / u32 division in jffs2_1pass.c; the problem
-can be avoided by using do_div() instead of plain division.
-
-Signed-off-by: Wolfgang Denk <wd at denx.de>
-Reported-by: Chris Ruehl <chris.ruehl at gtsys.com.hk>
-Cc: Chris Ruehl <chris.ruehl at gtsys.com.hk>
-
----
- fs/jffs2/jffs2_1pass.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/fs/jffs2/jffs2_1pass.c b/fs/jffs2/jffs2_1pass.c
-index c856983..a7dbe79 100644
---- a/fs/jffs2/jffs2_1pass.c
-+++ b/fs/jffs2/jffs2_1pass.c
-@@ -1438,7 +1438,7 @@ jffs2_1pass_build_lists(struct part_info * part)
- {
- 	struct b_lists *pL;
- 	struct jffs2_unknown_node *node;
--	u32 nr_sectors = part->size/part->sector_size;
-+	u32 nr_sectors = do_div(part->size, part->sector_size);
- 	u32 i;
- 	u32 counter4 = 0;
- 	u32 counterF = 0;
---
-1.8.3.1
diff --git a/package/boot/uboot-omap/patches/003-fix_findfdt_C4.patch b/package/boot/uboot-omap/patches/003-fix_findfdt_C4.patch
deleted file mode 100644
index b0b85e5..0000000
--- a/package/boot/uboot-omap/patches/003-fix_findfdt_C4.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/include/configs/omap3_beagle.h
-+++ b/include/configs/omap3_beagle.h
-@@ -242,6 +242,8 @@
- 			"setenv fdtfile omap3-beagle.dtb; fi; " \
- 		"if test $beaglerev = Cx; then " \
- 			"setenv fdtfile omap3-beagle.dtb; fi; " \
-+		"if test $beaglerev = C4; then " \
-+			"setenv fdtfile omap3-beagle.dtb; fi; " \
- 		"if test $beaglerev = xMAB; then " \
- 			"setenv fdtfile omap3-beagle-xm.dtb; fi; " \
- 		"if test $beaglerev = xMC; then " \
-- 
2.5.2
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list