summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Huang <hl@rock-chips.com>2016-09-08 10:21:57 -0700
committerPatrick Georgi <pgeorgi@google.com>2016-10-06 21:50:48 +0200
commit25626389c8318990c3da8905f40d9562cd6f428c (patch)
treed7f56c8ae0036c104b53f0f2d2bd62d67c1c4043
parent74fedbe3771febf7702a30fc4aa2e039040ff908 (diff)
downloadcoreboot-25626389c8318990c3da8905f40d9562cd6f428c.tar.xz
rockchip: rk3399: improve sdram noc timing
sdram noc timing will affect ddr latency, this patch improves rk3399 sdram noc timing so improve memory performance. BRANCH=gru BUG=chrome-os-partner:57248 TEST=Boot from kevin board Change-Id: I09e984490a7ad747ef8abfc6542d0e2c95ec19bc Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 43dfe55d713d371e39d21312772fd353614b7642 Original-Change-Id: I393e74ecdeb72930ac38ae9bcf311e5654f65162 Original-Signed-off-by: Lin Huang <hl@rock-chips.com> Original-Reviewed-on: https://chromium-review.googlesource.com/382725 Original-Reviewed-by: Sonny Rao <sonnyrao@chromium.org> Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Original-Tested-by: Sonny Rao <sonnyrao@chromium.org> Original-Commit-Queue: Sonny Rao <sonnyrao@chromium.org> Reviewed-on: https://review.coreboot.org/16713 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
-rw-r--r--src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-200.c8
-rw-r--r--src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-666-no-odt.c12
-rw-r--r--src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-666.c12
-rw-r--r--src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-800-no-odt.c8
-rw-r--r--src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-800.c8
-rw-r--r--src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-933.c16
6 files changed, 32 insertions, 32 deletions
diff --git a/src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-200.c b/src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-200.c
index dda6d98449..a9ed1805f8 100644
--- a/src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-200.c
+++ b/src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-200.c
@@ -26,11 +26,11 @@ struct rk3399_sdram_params params = {
.cs1_row = 0xF,
.ddrconfig = 1,
{
- {0x0e080807},
+ {0x80080807},
{0x05010605},
{0x00000002},
{0x00006076},
- {0x00000054},
+ {0x0000004c},
0x00000000
}
},
@@ -45,11 +45,11 @@ struct rk3399_sdram_params params = {
.cs1_row = 0xF,
.ddrconfig = 1,
{
- {0x0e080807},
+ {0x80080807},
{0x05010605},
{0x00000002},
{0x00006076},
- {0x00000054},
+ {0x0000004c},
0x00000000
}
}
diff --git a/src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-666-no-odt.c b/src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-666-no-odt.c
index 9b0bfe7fd1..ad0e30c225 100644
--- a/src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-666-no-odt.c
+++ b/src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-666-no-odt.c
@@ -26,11 +26,11 @@ struct rk3399_sdram_params params = {
.cs1_row = 0xF,
.ddrconfig = 1,
{
- {0x19151115},
- {0x10030806},
+ {0x80151115},
+ {0x11030806},
{0x00000002},
{0x00006206},
- {0x00000054},
+ {0x0000004c},
0x00000000
}
},
@@ -45,11 +45,11 @@ struct rk3399_sdram_params params = {
.cs1_row = 0xF,
.ddrconfig = 1,
{
- {0x19151115},
- {0x10030806},
+ {0x80151115},
+ {0x11030806},
{0x00000002},
{0x00006206},
- {0x00000054},
+ {0x0000004c},
0x00000000
}
}
diff --git a/src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-666.c b/src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-666.c
index d5d67611dd..7543e108f2 100644
--- a/src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-666.c
+++ b/src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-666.c
@@ -26,11 +26,11 @@ struct rk3399_sdram_params params = {
.cs1_row = 0xF,
.ddrconfig = 1,
{
- {0x19151115},
- {0x10030806},
+ {0x80151115},
+ {0x11030806},
{0x00000002},
{0x00006206},
- {0x00000054},
+ {0x0000004c},
0x00000000
}
},
@@ -45,11 +45,11 @@ struct rk3399_sdram_params params = {
.cs1_row = 0xF,
.ddrconfig = 1,
{
- {0x19151115},
- {0x10030806},
+ {0x80151115},
+ {0x11030806},
{0x00000002},
{0x00006206},
- {0x00000054},
+ {0x0000004c},
0x00000000
}
}
diff --git a/src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-800-no-odt.c b/src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-800-no-odt.c
index 866759b772..fde24c7ed1 100644
--- a/src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-800-no-odt.c
+++ b/src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-800-no-odt.c
@@ -26,11 +26,11 @@ struct rk3399_sdram_params params = {
.cs1_row = 0xF,
.ddrconfig = 1,
{
- {0x1d191519},
+ {0x80191519},
{0x14040808},
{0x00000002},
{0x00006226},
- {0x00000054},
+ {0x0000004c},
0x00000000
}
},
@@ -45,11 +45,11 @@ struct rk3399_sdram_params params = {
.cs1_row = 0xF,
.ddrconfig = 1,
{
- {0x1d191519},
+ {0x80191519},
{0x14040808},
{0x00000002},
{0x00006226},
- {0x00000054},
+ {0x0000004c},
0x00000000
}
}
diff --git a/src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-800.c b/src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-800.c
index 034e9d84e3..1544bd0dfe 100644
--- a/src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-800.c
+++ b/src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-800.c
@@ -26,11 +26,11 @@ struct rk3399_sdram_params params = {
.cs1_row = 0xF,
.ddrconfig = 1,
{
- {0x1d191519},
+ {0x80191519},
{0x14040808},
{0x00000002},
{0x00006226},
- {0x00000054},
+ {0x0000004c},
0x00000000
}
},
@@ -45,11 +45,11 @@ struct rk3399_sdram_params params = {
.cs1_row = 0xF,
.ddrconfig = 1,
{
- {0x1d191519},
+ {0x80191519},
{0x14040808},
{0x00000002},
{0x00006226},
- {0x00000054},
+ {0x0000004c},
0x00000000
}
}
diff --git a/src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-933.c b/src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-933.c
index 2ef9d0c593..a4d20073c7 100644
--- a/src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-933.c
+++ b/src/mainboard/google/gru/sdram_params/sdram-lpddr3-hynix-4GB-933.c
@@ -26,11 +26,11 @@ struct rk3399_sdram_params params = {
.cs1_row = 0xF,
.ddrconfig = 1,
{
- {0x1d191519},
- {0x14040808},
+ {0x801d181e},
+ {0x17050a08},
{0x00000002},
- {0x00006226},
- {0x00000054},
+ {0x00006426},
+ {0x0000004c},
0x00000000
}
},
@@ -45,11 +45,11 @@ struct rk3399_sdram_params params = {
.cs1_row = 0xF,
.ddrconfig = 1,
{
- {0x1d191519},
- {0x14040808},
+ {0x801d181e},
+ {0x17050a08},
{0x00000002},
- {0x00006226},
- {0x00000054},
+ {0x00006426},
+ {0x0000004c},
0x00000000
}
}