Commit aa09a071 authored by Michael Trimarchi's avatar Michael Trimarchi Committed by Jagan Teki

sunxi: Fix memory 2-rank initialization for a33 cpu

When we initialize the memory we need to autodetect rank and size
but this can happen only if we send the proper reset to both
memory module including cke signal.
For this reason we need initialize the physical on both channel because
we need to presume that both are connected. This way let the CLKE to be
activated at the right time with the memory reset coming from the cpu
Signed-off-by: default avatarMichael Trimarchi <>
Acked-by: Maxime Ripard's avatarMaxime Ripard <>
parent 0e21a2ff
......@@ -334,7 +334,7 @@ unsigned long sunxi_dram_init(void)
struct dram_para para = {
.cs1 = 0,
.bank = 1,
.rank = 1,
.rank = 2,
.rows = 15,
.bus_width = 16,
.page_size = 2048,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment