[U-Boot] [PATCH 6/9] ram: rockchip: update lpddr4 timing for rk3399

Kever Yang kever.yang at rock-chips.com
Tue Oct 22 08:04:12 UTC 2019


Update lpddr timing in lpddr4-400 and lpddr4-800 file from rockchip
vendor code;

Signed-off-by: YouMin Chen <cym at rock-chips.com>
Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
---

 drivers/ram/rockchip/sdram-rk3399-lpddr4-400.inc | 12 ++++++------
 drivers/ram/rockchip/sdram-rk3399-lpddr4-800.inc |  6 +++---
 2 files changed, 9 insertions(+), 9 deletions(-)

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,
-- 
2.17.1



More information about the U-Boot mailing list