[coreboot-gerrit] New patch to review for coreboot: 26a1fe4 allwinner/a10: fix raminit

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Thu Nov 20 17:57:50 CET 2014


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7538

-gerrit

commit 26a1fe482a8c32ca551c2751e8dcb001de92fba3
Author: Patrick Georgi <patrick at georgi-clan.de>
Date:   Thu Nov 20 17:57:23 2014 +0100

    allwinner/a10: fix raminit
    
    gcc 4.8.3 broke on it, and the u-boot code that this was
    derived from contains the same change.
    
    Change-Id: I3936567a1bee3eceb469373a81e464b1238fdf9c
    Signed-off-by: Patrick Georgi <pgeorgi at google.com>
---
 src/cpu/allwinner/a10/raminit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cpu/allwinner/a10/raminit.c b/src/cpu/allwinner/a10/raminit.c
index 84fe4e8..de24e03 100644
--- a/src/cpu/allwinner/a10/raminit.c
+++ b/src/cpu/allwinner/a10/raminit.c
@@ -225,7 +225,7 @@ static int dramc_scan_dll_para(void)
 			for (cr_i = 1; cr_i < 5; cr_i++) {
 				clrsetbits_le32(&dram->dllcr[cr_i],
 						0x4f << 14,
-						(dqs_dly[clk_i] & 0x4f) << 14);
+						(dqs_dly[dqs_i] & 0x4f) << 14);
 			}
 			udelay(2);
 			if (dramc_scan_readpipe() == 0)



More information about the coreboot-gerrit mailing list