aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-omap/patches/420-use-weak-in-board.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-12-17 09:29:42 +0000
committerJohn Crispin <blogic@openwrt.org>2015-12-17 09:29:42 +0000
commitfd674a8fcb662c9df436c6f949e09e96b01af16e (patch)
treeebeab5b7257c112b0f6cddb3887beee82f2e3607 /package/boot/uboot-omap/patches/420-use-weak-in-board.patch
parent3cd6efc5016d5d1d8cbdcfd64af83e310fcbc1dd (diff)
downloadmaster-187ad058-fd674a8fcb662c9df436c6f949e09e96b01af16e.tar.gz
master-187ad058-fd674a8fcb662c9df436c6f949e09e96b01af16e.tar.bz2
master-187ad058-fd674a8fcb662c9df436c6f949e09e96b01af16e.zip
uboot-omap: update to 2015.10
- tested on Beagleboard C4 - remove upstream patches - disable THUMB mode on OMAP3 this increases binary size (remove CONFIG_SYS_THUMB_BUILD) - reduce SPL size by disabling EXT feature (remove CONFIG_SPL_EXT_SUPPORT) this fixes 2015.07 and 2015.10-rc3 Beagleboard C4 booting which were broken by upstream commit with id: bd2c4522c26d535515aebca52d27c004a7e0c05c Arm THUMB mode is broken because of an yet unknown errata see: http://lists.denx.de/pipermail/u-boot/2015-August/225793.html - backport upstream fix that was introduced in 2015.10-rc5 and was not fixed in 2015.10 final Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47924 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/boot/uboot-omap/patches/420-use-weak-in-board.patch')
-rw-r--r--package/boot/uboot-omap/patches/420-use-weak-in-board.patch80
1 files changed, 0 insertions, 80 deletions
diff --git a/package/boot/uboot-omap/patches/420-use-weak-in-board.patch b/package/boot/uboot-omap/patches/420-use-weak-in-board.patch
deleted file mode 100644
index b46e616f76..0000000000
--- a/package/boot/uboot-omap/patches/420-use-weak-in-board.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-From: Jeroen Hofstee <jeroen@myspectrum.nl>
-Date: Wed, 8 Oct 2014 20:57:21 +0000 (+0200)
-Subject: arm: board: use __weak
-X-Git-Tag: v2015.01-rc1~176
-X-Git-Url: http://git.denx.de/?p=u-boot.git;a=commitdiff_plain;h=8590c800ee60e46f15d6085e3c1fed0d6881fc62
-
-arm: board: use __weak
-
-Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
-Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
----
-
---- a/arch/arm/lib/board.c
-+++ b/arch/arm/lib/board.c
-@@ -62,25 +62,15 @@ extern void dataflash_print_info(void);
- ************************************************************************
- * May be supplied by boards if desired
- */
--inline void __coloured_LED_init(void) {}
--void coloured_LED_init(void)
-- __attribute__((weak, alias("__coloured_LED_init")));
--inline void __red_led_on(void) {}
--void red_led_on(void) __attribute__((weak, alias("__red_led_on")));
--inline void __red_led_off(void) {}
--void red_led_off(void) __attribute__((weak, alias("__red_led_off")));
--inline void __green_led_on(void) {}
--void green_led_on(void) __attribute__((weak, alias("__green_led_on")));
--inline void __green_led_off(void) {}
--void green_led_off(void) __attribute__((weak, alias("__green_led_off")));
--inline void __yellow_led_on(void) {}
--void yellow_led_on(void) __attribute__((weak, alias("__yellow_led_on")));
--inline void __yellow_led_off(void) {}
--void yellow_led_off(void) __attribute__((weak, alias("__yellow_led_off")));
--inline void __blue_led_on(void) {}
--void blue_led_on(void) __attribute__((weak, alias("__blue_led_on")));
--inline void __blue_led_off(void) {}
--void blue_led_off(void) __attribute__((weak, alias("__blue_led_off")));
-+__weak void coloured_LED_init(void) {}
-+__weak void red_led_on(void) {}
-+__weak void red_led_off(void) {}
-+__weak void green_led_on(void) {}
-+__weak void green_led_off(void) {}
-+__weak void yellow_led_on(void) {}
-+__weak void yellow_led_off(void) {}
-+__weak void blue_led_on(void) {}
-+__weak void blue_led_off(void) {}
-
- /*
- ************************************************************************
-@@ -199,27 +189,21 @@ typedef int (init_fnc_t) (void);
-
- int print_cpuinfo(void);
-
--void __dram_init_banksize(void)
-+__weak void dram_init_banksize(void)
- {
- gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE;
- gd->bd->bi_dram[0].size = gd->ram_size;
- }
--void dram_init_banksize(void)
-- __attribute__((weak, alias("__dram_init_banksize")));
-
--int __arch_cpu_init(void)
-+__weak int arch_cpu_init(void)
- {
- return 0;
- }
--int arch_cpu_init(void)
-- __attribute__((weak, alias("__arch_cpu_init")));
-
--int __power_init_board(void)
-+__weak int power_init_board(void)
- {
- return 0;
- }
--int power_init_board(void)
-- __attribute__((weak, alias("__power_init_board")));
-
- /* Record the board_init_f() bootstage (after arch_cpu_init()) */
- static int mark_bootstage(void)