[Armadeus-commitlog] armadeus branch, master, updated. armadeus-6.0-46-g05255e2
Brought to you by:
sszy
|
From: Sébastien S. <ss...@us...> - 2016-03-22 10:12:18
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 05255e29b48a85170d9fd0d519f826811647fce9 (commit)
from 386909eb94da650dc40504cb2c9ac686d731b47b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 05255e29b48a85170d9fd0d519f826811647fce9
Author: Sébastien Szymanski <seb...@ar...>
Date: Tue Mar 22 11:11:44 2016 +0100
[UBOOT] 2015.01: apf28: RAM size detection workaround
-----------------------------------------------------------------------
Summary of changes:
.../503-apf28-workaround-ram-size-detection.patch | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
create mode 100644 patches/u-boot/2015.01/503-apf28-workaround-ram-size-detection.patch
diff --git a/patches/u-boot/2015.01/503-apf28-workaround-ram-size-detection.patch b/patches/u-boot/2015.01/503-apf28-workaround-ram-size-detection.patch
new file mode 100644
index 0000000..d8f7bb4
--- /dev/null
+++ b/patches/u-boot/2015.01/503-apf28-workaround-ram-size-detection.patch
@@ -0,0 +1,18 @@
+The RAM size detection function fails on a few APF28 modules for some reasons.
+This workaround makes it work again, so use it until we find a proper way to
+fix this...
+
+Signed-off-by: Nicolas Colombain <nic...@ar...>
+Signed-off-by: Sébastien Szymanski <seb...@ar...>
+Index: uboot-2015.01/common/memsize.c
+===================================================================
+--- uboot-2015.01.orig/common/memsize.c
++++ uboot-2015.01/common/memsize.c
+@@ -66,6 +66,7 @@ long get_ram_size(long *base, long maxsi
+ for (cnt = 1; cnt < maxsize / sizeof (long); cnt <<= 1) {
+ addr = base + cnt; /* pointer arith! */
+ val = *addr;
++ val = *addr;
+ *addr = save[--i];
+ if (val != ~cnt) {
+ size = cnt * sizeof (long);
hooks/post-receive
--
armadeus
|