driver: ram: rockhip: px30: fix lpddr2 bug
set lpddr2 detect max row = 15 to match lpddr2 inc file Change-Id: I8fd57984331d35bafaf263829760204c582d120d Signed-off-by: YouMin Chen <cym@rock-chips.com>
This commit is contained in:
parent
ca0ddd934d
commit
f588f59eac
|
|
@ -920,6 +920,9 @@ static u64 dram_detect_cap(struct dram_info *dram,
|
|||
/* detect col and bk for ddr3/lpddr3 */
|
||||
coltmp = 12;
|
||||
bktmp = 3;
|
||||
if (dram_type == LPDDR2)
|
||||
rowtmp = 15;
|
||||
else
|
||||
rowtmp = 16;
|
||||
|
||||
for (col = coltmp; col >= 9; col -= 1) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue