* [U-Boot] [PATCH] am33xx/ddr.c: Fix regression on DDR2 platforms
@ 2015-04-02 20:01 Tom Rini
2015-04-07 17:59 ` [U-Boot] " Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Tom Rini @ 2015-04-02 20:01 UTC (permalink / raw)
To: u-boot
Back in fc46bae a "clean up" was introduced that intended to reconcile
some of the AM335x codepaths based on how AM43xx operates.
Unfortunately this introduced a regression on the DDR2 platforms. This
was un-noticed on DDR3 (everything except for Beaglebone White) as we
had already populated sdram_config correctly in sequence. This change
brings us back to the older behavior and is fine on all platforms.
Tested on Beaglebone White, Beaglebone Black and AM335x GP EVM
Reported-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
---
arch/arm/cpu/armv7/am33xx/ddr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/cpu/armv7/am33xx/ddr.c b/arch/arm/cpu/armv7/am33xx/ddr.c
index 85cceae..f5b16b4 100644
--- a/arch/arm/cpu/armv7/am33xx/ddr.c
+++ b/arch/arm/cpu/armv7/am33xx/ddr.c
@@ -164,9 +164,9 @@ void config_sdram(const struct emif_regs *regs, int nr)
writel(regs->ref_ctrl, &emif_reg[nr]->emif_sdram_ref_ctrl);
writel(regs->ref_ctrl, &emif_reg[nr]->emif_sdram_ref_ctrl_shdw);
}
- writel(regs->sdram_config, &emif_reg[nr]->emif_sdram_config);
writel(regs->ref_ctrl, &emif_reg[nr]->emif_sdram_ref_ctrl);
writel(regs->ref_ctrl, &emif_reg[nr]->emif_sdram_ref_ctrl_shdw);
+ writel(regs->sdram_config, &emif_reg[nr]->emif_sdram_config);
}
/**
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] am33xx/ddr.c: Fix regression on DDR2 platforms
2015-04-02 20:01 [U-Boot] [PATCH] am33xx/ddr.c: Fix regression on DDR2 platforms Tom Rini
@ 2015-04-07 17:59 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2015-04-07 17:59 UTC (permalink / raw)
To: u-boot
On Thu, Apr 02, 2015 at 04:01:33PM -0400, Tom Rini wrote:
> Back in fc46bae a "clean up" was introduced that intended to reconcile
> some of the AM335x codepaths based on how AM43xx operates.
> Unfortunately this introduced a regression on the DDR2 platforms. This
> was un-noticed on DDR3 (everything except for Beaglebone White) as we
> had already populated sdram_config correctly in sequence. This change
> brings us back to the older behavior and is fine on all platforms.
>
> Tested on Beaglebone White, Beaglebone Black and AM335x GP EVM
>
> Reported-by: Matt Ranostay <mranostay@gmail.com>
> Signed-off-by: Tom Rini <trini@konsulko.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150407/5be119c3/attachment.sig>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-07 17:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-02 20:01 [U-Boot] [PATCH] am33xx/ddr.c: Fix regression on DDR2 platforms Tom Rini
2015-04-07 17:59 ` [U-Boot] " Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.