Skip to content
Commit babb512f authored by Tony Lindgren's avatar Tony Lindgren Committed by H. Nikolaus Schaller
Browse files

LC15: Fix flakey ddr3 detection with ref_ctrl and ref_ctrl_final



Since commit 802bb57a ("ARM: DRA7: EMIF: Update SDRAM_REF_CTRL
register value") we now do this in two phases.

We are not currently configuring ref_ctrl and this seems to cause
bogus memory errors early in u-boot that often happen if the board
has been powered off for a while:

SDRAM: identified size not same as expected size identified: 0
expected: 40000000
...
WARNING: DDR RAM is not working! (12000000)
...
### ERROR ### Please RESET the board ###

Note that this does not solve the kernel related memory issues,
but gets us to the point where u-boot starts reliably.

Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 574cfd75
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment