diff options
author | Derek Basehore <dbasehore@chromium.org> | 2016-10-25 18:30:16 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-11-17 18:00:43 +0100 |
commit | 00ad7ff1ca3ba8f90d30ec660473da970f146d9e (patch) | |
tree | 5fc15f95db2504b880a285625e123c4b251c25d3 | |
parent | b4946a9e654599034adf4075c266bf529b8216a7 (diff) | |
download | coreboot-00ad7ff1ca3ba8f90d30ec660473da970f146d9e.tar.xz |
google/gru: Add new CA training pattern
This adds a new CA training pattern for all of the supported
frequencies. This pattern increases the hold time on CA.
BRANCH=none
BUG=chrome-os-partner:57845
TEST=boot kevin and run:
while true; do sleep 0.1; memtester 500K 1 > /dev/null; done
for several hours
Change-Id: Ie5958cf67c16247ef90ee261da9faef4ffa5b339
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 8babeafe75bffcb2dab17eb007b4f5bb0eb42606
Original-Change-Id: I7f7652f88e43dc9b2f6069e60514931bf7582ed1
Original-Signed-off-by: Derek Basehore <dbasehore@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/403547
Original-Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-on: https://review.coreboot.org/17382
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
3 files changed, 33 insertions, 33 deletions
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 e1a517acd8..a9ce03b408 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 @@ -319,8 +319,8 @@ struct rk3399_sdram_params params = { 0x00000000, /* DENALI_CTL_255_DATA */ 0x000556aa, /* DENALI_CTL_256_DATA */ 0x000aaaaa, /* DENALI_CTL_257_DATA */ - 0x000aa955, /* DENALI_CTL_258_DATA */ - 0x00055555, /* DENALI_CTL_259_DATA */ + 0x000fffff, /* DENALI_CTL_258_DATA */ + 0x00000000, /* DENALI_CTL_259_DATA */ 0x000b3133, /* DENALI_CTL_260_DATA */ 0x0004cd33, /* DENALI_CTL_261_DATA */ 0x0004cecc, /* DENALI_CTL_262_DATA */ @@ -1130,14 +1130,14 @@ struct rk3399_sdram_params params = { 0x00917531, /* DENALI_PHY_526_DATA */ 0x00806420, /* DENALI_PHY_527_DATA */ 0x01917531, /* DENALI_PHY_528_DATA */ - 0x00020003, /* DENALI_PHY_529_DATA */ + 0x00020103, /* DENALI_PHY_529_DATA */ 0x00000000, /* DENALI_PHY_530_DATA */ 0x00000000, /* DENALI_PHY_531_DATA */ 0x00000000, /* DENALI_PHY_532_DATA */ 0x000556aa, /* DENALI_PHY_533_DATA */ 0x000aaaaa, /* DENALI_PHY_534_DATA */ - 0x000aa955, /* DENALI_PHY_535_DATA */ - 0x00055555, /* DENALI_PHY_536_DATA */ + 0x000fffff, /* DENALI_PHY_535_DATA */ + 0x00000000, /* DENALI_PHY_536_DATA */ 0x000b3133, /* DENALI_PHY_537_DATA */ 0x0004cd33, /* DENALI_PHY_538_DATA */ 0x0004cecc, /* DENALI_PHY_539_DATA */ @@ -1258,14 +1258,14 @@ struct rk3399_sdram_params params = { 0x00009fdb, /* DENALI_PHY_654_DATA */ 0x00008eca, /* DENALI_PHY_655_DATA */ 0x01009fdb, /* DENALI_PHY_656_DATA */ - 0x00020003, /* DENALI_PHY_657_DATA */ + 0x00020103, /* DENALI_PHY_657_DATA */ 0x00000000, /* DENALI_PHY_658_DATA */ 0x00000000, /* DENALI_PHY_659_DATA */ 0x00000000, /* DENALI_PHY_660_DATA */ 0x000556aa, /* DENALI_PHY_661_DATA */ 0x000aaaaa, /* DENALI_PHY_662_DATA */ - 0x000aa955, /* DENALI_PHY_663_DATA */ - 0x00055555, /* DENALI_PHY_664_DATA */ + 0x000fffff, /* DENALI_PHY_663_DATA */ + 0x00000000, /* DENALI_PHY_664_DATA */ 0x000b3133, /* DENALI_PHY_665_DATA */ 0x0004cd33, /* DENALI_PHY_666_DATA */ 0x0004cecc, /* DENALI_PHY_667_DATA */ @@ -1386,14 +1386,14 @@ struct rk3399_sdram_params params = { 0x00009fdb, /* DENALI_PHY_782_DATA */ 0x00008eca, /* DENALI_PHY_783_DATA */ 0x01009fdb, /* DENALI_PHY_784_DATA */ - 0x00020003, /* DENALI_PHY_785_DATA */ + 0x00020103, /* DENALI_PHY_785_DATA */ 0x00000000, /* DENALI_PHY_786_DATA */ 0x00000000, /* DENALI_PHY_787_DATA */ 0x00000000, /* DENALI_PHY_788_DATA */ 0x000556aa, /* DENALI_PHY_789_DATA */ 0x000aaaaa, /* DENALI_PHY_790_DATA */ - 0x000aa955, /* DENALI_PHY_791_DATA */ - 0x00055555, /* DENALI_PHY_792_DATA */ + 0x000fffff, /* DENALI_PHY_791_DATA */ + 0x00000000, /* DENALI_PHY_792_DATA */ 0x000b3133, /* DENALI_PHY_793_DATA */ 0x0004cd33, /* DENALI_PHY_794_DATA */ 0x0004cecc, /* DENALI_PHY_795_DATA */ 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 1035d5dba2..d9a801ae4e 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 @@ -319,8 +319,8 @@ struct rk3399_sdram_params params = { 0x00000000, /* DENALI_CTL_255_DATA */ 0x000556aa, /* DENALI_CTL_256_DATA */ 0x000aaaaa, /* DENALI_CTL_257_DATA */ - 0x000aa955, /* DENALI_CTL_258_DATA */ - 0x00055555, /* DENALI_CTL_259_DATA */ + 0x000fffff, /* DENALI_CTL_258_DATA */ + 0x00000000, /* DENALI_CTL_259_DATA */ 0x000b3133, /* DENALI_CTL_260_DATA */ 0x0004cd33, /* DENALI_CTL_261_DATA */ 0x0004cecc, /* DENALI_CTL_262_DATA */ @@ -1130,14 +1130,14 @@ struct rk3399_sdram_params params = { 0x00917531, /* DENALI_PHY_526_DATA */ 0x00806420, /* DENALI_PHY_527_DATA */ 0x01917531, /* DENALI_PHY_528_DATA */ - 0x00020003, /* DENALI_PHY_529_DATA */ + 0x00020103, /* DENALI_PHY_529_DATA */ 0x00000000, /* DENALI_PHY_530_DATA */ 0x00000000, /* DENALI_PHY_531_DATA */ 0x00000000, /* DENALI_PHY_532_DATA */ 0x000556aa, /* DENALI_PHY_533_DATA */ 0x000aaaaa, /* DENALI_PHY_534_DATA */ - 0x000aa955, /* DENALI_PHY_535_DATA */ - 0x00055555, /* DENALI_PHY_536_DATA */ + 0x000fffff, /* DENALI_PHY_535_DATA */ + 0x00000000, /* DENALI_PHY_536_DATA */ 0x000b3133, /* DENALI_PHY_537_DATA */ 0x0004cd33, /* DENALI_PHY_538_DATA */ 0x0004cecc, /* DENALI_PHY_539_DATA */ @@ -1258,14 +1258,14 @@ struct rk3399_sdram_params params = { 0x00009fdb, /* DENALI_PHY_654_DATA */ 0x00008eca, /* DENALI_PHY_655_DATA */ 0x01009fdb, /* DENALI_PHY_656_DATA */ - 0x00020003, /* DENALI_PHY_657_DATA */ + 0x00020103, /* DENALI_PHY_657_DATA */ 0x00000000, /* DENALI_PHY_658_DATA */ 0x00000000, /* DENALI_PHY_659_DATA */ 0x00000000, /* DENALI_PHY_660_DATA */ 0x000556aa, /* DENALI_PHY_661_DATA */ 0x000aaaaa, /* DENALI_PHY_662_DATA */ - 0x000aa955, /* DENALI_PHY_663_DATA */ - 0x00055555, /* DENALI_PHY_664_DATA */ + 0x000fffff, /* DENALI_PHY_663_DATA */ + 0x00000000, /* DENALI_PHY_664_DATA */ 0x000b3133, /* DENALI_PHY_665_DATA */ 0x0004cd33, /* DENALI_PHY_666_DATA */ 0x0004cecc, /* DENALI_PHY_667_DATA */ @@ -1386,14 +1386,14 @@ struct rk3399_sdram_params params = { 0x00009fdb, /* DENALI_PHY_782_DATA */ 0x00008eca, /* DENALI_PHY_783_DATA */ 0x01009fdb, /* DENALI_PHY_784_DATA */ - 0x00020003, /* DENALI_PHY_785_DATA */ + 0x00020103, /* DENALI_PHY_785_DATA */ 0x00000000, /* DENALI_PHY_786_DATA */ 0x00000000, /* DENALI_PHY_787_DATA */ 0x00000000, /* DENALI_PHY_788_DATA */ 0x000556aa, /* DENALI_PHY_789_DATA */ 0x000aaaaa, /* DENALI_PHY_790_DATA */ - 0x000aa955, /* DENALI_PHY_791_DATA */ - 0x00055555, /* DENALI_PHY_792_DATA */ + 0x000fffff, /* DENALI_PHY_791_DATA */ + 0x00000000, /* DENALI_PHY_792_DATA */ 0x000b3133, /* DENALI_PHY_793_DATA */ 0x0004cd33, /* DENALI_PHY_794_DATA */ 0x0004cecc, /* DENALI_PHY_795_DATA */ 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 7110748940..16aea3a483 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 @@ -319,8 +319,8 @@ struct rk3399_sdram_params params = { 0x00000000, /* DENALI_CTL_255_DATA */ 0x000556aa, /* DENALI_CTL_256_DATA */ 0x000aaaaa, /* DENALI_CTL_257_DATA */ - 0x000aa955, /* DENALI_CTL_258_DATA */ - 0x00055555, /* DENALI_CTL_259_DATA */ + 0x000fffff, /* DENALI_CTL_258_DATA */ + 0x00000000, /* DENALI_CTL_259_DATA */ 0x000b3133, /* DENALI_CTL_260_DATA */ 0x0004cd33, /* DENALI_CTL_261_DATA */ 0x0004cecc, /* DENALI_CTL_262_DATA */ @@ -1130,14 +1130,14 @@ struct rk3399_sdram_params params = { 0x00917531, /* DENALI_PHY_526_DATA */ 0x00806420, /* DENALI_PHY_527_DATA */ 0x01917531, /* DENALI_PHY_528_DATA */ - 0x00020003, /* DENALI_PHY_529_DATA */ + 0x00020103, /* DENALI_PHY_529_DATA */ 0x00000000, /* DENALI_PHY_530_DATA */ 0x00000000, /* DENALI_PHY_531_DATA */ 0x00000000, /* DENALI_PHY_532_DATA */ 0x000556aa, /* DENALI_PHY_533_DATA */ 0x000aaaaa, /* DENALI_PHY_534_DATA */ - 0x000aa955, /* DENALI_PHY_535_DATA */ - 0x00055555, /* DENALI_PHY_536_DATA */ + 0x000fffff, /* DENALI_PHY_535_DATA */ + 0x00000000, /* DENALI_PHY_536_DATA */ 0x000b3133, /* DENALI_PHY_537_DATA */ 0x0004cd33, /* DENALI_PHY_538_DATA */ 0x0004cecc, /* DENALI_PHY_539_DATA */ @@ -1258,14 +1258,14 @@ struct rk3399_sdram_params params = { 0x00009fdb, /* DENALI_PHY_654_DATA */ 0x00008eca, /* DENALI_PHY_655_DATA */ 0x01009fdb, /* DENALI_PHY_656_DATA */ - 0x00020003, /* DENALI_PHY_657_DATA */ + 0x00020103, /* DENALI_PHY_657_DATA */ 0x00000000, /* DENALI_PHY_658_DATA */ 0x00000000, /* DENALI_PHY_659_DATA */ 0x00000000, /* DENALI_PHY_660_DATA */ 0x000556aa, /* DENALI_PHY_661_DATA */ 0x000aaaaa, /* DENALI_PHY_662_DATA */ - 0x000aa955, /* DENALI_PHY_663_DATA */ - 0x00055555, /* DENALI_PHY_664_DATA */ + 0x000fffff, /* DENALI_PHY_663_DATA */ + 0x00000000, /* DENALI_PHY_664_DATA */ 0x000b3133, /* DENALI_PHY_665_DATA */ 0x0004cd33, /* DENALI_PHY_666_DATA */ 0x0004cecc, /* DENALI_PHY_667_DATA */ @@ -1386,14 +1386,14 @@ struct rk3399_sdram_params params = { 0x00009fdb, /* DENALI_PHY_782_DATA */ 0x00008eca, /* DENALI_PHY_783_DATA */ 0x01009fdb, /* DENALI_PHY_784_DATA */ - 0x00020003, /* DENALI_PHY_785_DATA */ + 0x00020103, /* DENALI_PHY_785_DATA */ 0x00000000, /* DENALI_PHY_786_DATA */ 0x00000000, /* DENALI_PHY_787_DATA */ 0x00000000, /* DENALI_PHY_788_DATA */ 0x000556aa, /* DENALI_PHY_789_DATA */ 0x000aaaaa, /* DENALI_PHY_790_DATA */ - 0x000aa955, /* DENALI_PHY_791_DATA */ - 0x00055555, /* DENALI_PHY_792_DATA */ + 0x000fffff, /* DENALI_PHY_791_DATA */ + 0x00000000, /* DENALI_PHY_792_DATA */ 0x000b3133, /* DENALI_PHY_793_DATA */ 0x0004cd33, /* DENALI_PHY_794_DATA */ 0x0004cecc, /* DENALI_PHY_795_DATA */ |