From: Kever Yang Date: Fri, 15 Nov 2019 03:04:50 +0000 (+0800) Subject: ram: rockchip: update lpddr4 timing for rk3399 X-Git-Tag: v2020.01-rc3~2^2~46 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7cf04ad1f689c05d5e99c09441d5f6953156e7af;p=oweals%2Fu-boot.git ram: rockchip: update lpddr4 timing for rk3399 Update lpddr timing in lpddr4-400 and lpddr4-800 file from rockchip vendor code; Signed-off-by: YouMin Chen Signed-off-by: Kever Yang --- diff --git a/drivers/ram/rockchip/sdram-rk3399-lpddr4-400.inc b/drivers/ram/rockchip/sdram-rk3399-lpddr4-400.inc index 6ddc01c49d..209ef57228 100644 --- a/drivers/ram/rockchip/sdram-rk3399-lpddr4-400.inc +++ b/drivers/ram/rockchip/sdram-rk3399-lpddr4-400.inc @@ -22,16 +22,16 @@ }, { .ddrtiminga0 = { - 0x80241d22, + 0x8010100d, }, .ddrtimingb0 = { - 0x15050f08, + 0x08020b04, }, .ddrtimingc0 = { 0x00000602, }, .devtodev0 = { - 0x00002122, + 0x00002562, }, .ddrmode = { 0x0000004c, @@ -55,16 +55,16 @@ }, { .ddrtiminga0 = { - 0x80241d22, + 0x8010100d, }, .ddrtimingb0 = { - 0x15050f08, + 0x08020b04, }, .ddrtimingc0 = { 0x00000602, }, .devtodev0 = { - 0x00002122, + 0x00002562, }, .ddrmode = { 0x0000004c, diff --git a/drivers/ram/rockchip/sdram-rk3399-lpddr4-800.inc b/drivers/ram/rockchip/sdram-rk3399-lpddr4-800.inc index 307f6ee458..7d11b4c563 100644 --- a/drivers/ram/rockchip/sdram-rk3399-lpddr4-800.inc +++ b/drivers/ram/rockchip/sdram-rk3399-lpddr4-800.inc @@ -22,16 +22,16 @@ }, { .ddrtiminga0 = { - 0x80241d22, + 0x801c1819, }, .ddrtimingb0 = { - 0x15050f08, + 0x10040c05, }, .ddrtimingc0 = { 0x00000602, }, .devtodev0 = { - 0x00002122, + 0x00002672, }, .ddrmode = { 0x0000004c,