diff mbox

[U-Boot,u-boot,sunxi,2/4] sunxi: FIXUP: sunxi: initial sun7i dram setup support

Message ID 1394978030-14511-3-git-send-email-hdegoede@redhat.com
State RFC
Delegated to: Albert ARIBAUD
Headers show

Commit Message

Hans de Goede March 16, 2014, 1:53 p.m. UTC
mctl_ddr3_reset() should not be called here for sun7i, at least the
u-boot-sunxi sources don't do this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 arch/arm/cpu/armv7/sunxi/dram.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Ian Campbell March 16, 2014, 6 p.m. UTC | #1
On Sun, 2014-03-16 at 14:53 +0100, Hans de Goede wrote:
> mctl_ddr3_reset() should not be called here for sun7i, at least the
> u-boot-sunxi sources don't do this.

oops, I misread an ifndef. I'll fold in, thanks.

Ian.
diff mbox

Patch

diff --git a/arch/arm/cpu/armv7/sunxi/dram.c b/arch/arm/cpu/armv7/sunxi/dram.c
index 81b1f50..c34322d 100644
--- a/arch/arm/cpu/armv7/sunxi/dram.c
+++ b/arch/arm/cpu/armv7/sunxi/dram.c
@@ -373,7 +373,6 @@  unsigned long dramc_init(struct dram_para *para)
 	mctl_setup_dram_clock(para->clock);
 
 	/* reset external DRAM */
-	mctl_ddr3_reset();
 	mctl_set_drive();
 
 	/* dram clock off */