diff options
author | Derek Basehore <dbasehore@chromium.org> | 2016-11-02 20:07:57 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-11-17 18:45:35 +0100 |
commit | 96831e69a0fe175b148aa0d4f3e5fcc0db1da6d3 (patch) | |
tree | b92fe5b8007a1de1f540878014ad5223b66f705b /src/mainboard/google | |
parent | 00ad7ff1ca3ba8f90d30ec660473da970f146d9e (diff) | |
download | coreboot-96831e69a0fe175b148aa0d4f3e5fcc0db1da6d3.tar.xz |
google/gru: Move to one CA training pattern
This changes memory to only do CA training with one pattern,
0xfffff/0x00000 and to also make sure CA training waits for all of the
captures during training.
BRANCH=none
BUG=chrome-os-partner:56940
TEST=boot kevin and run
stressapptest -M 1500 -s 1000
Change-Id: I0982674b4f4415f4d7865923ced93fa09bdd877e
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 75cdd911cea9c4e5744fd04505b260fa5755513c
Original-Change-Id: I3b86e6d4662c6fbbf9ddef274fce191a367904e5
Original-Signed-off-by: Derek Basehore <dbasehore@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/410320
Original-Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-on: https://review.coreboot.org/17383
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/google')
3 files changed, 57 insertions, 57 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 a9ce03b408..cec440647e 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 @@ -317,10 +317,10 @@ struct rk3399_sdram_params params = { 0x00000000, /* DENALI_CTL_253_DATA */ 0x00000000, /* DENALI_CTL_254_DATA */ 0x00000000, /* DENALI_CTL_255_DATA */ - 0x000556aa, /* DENALI_CTL_256_DATA */ - 0x000aaaaa, /* DENALI_CTL_257_DATA */ - 0x000fffff, /* DENALI_CTL_258_DATA */ - 0x00000000, /* DENALI_CTL_259_DATA */ + 0x000fffff, /* DENALI_CTL_256_DATA */ + 0x00000000, /* DENALI_CTL_257_DATA */ + 0x000556aa, /* DENALI_CTL_258_DATA */ + 0x000aaaaa, /* 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 */ - 0x00020103, /* DENALI_PHY_529_DATA */ + 0x02020003, /* 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 */ - 0x000fffff, /* DENALI_PHY_535_DATA */ - 0x00000000, /* DENALI_PHY_536_DATA */ + 0x000fffff, /* DENALI_PHY_533_DATA */ + 0x00000000, /* DENALI_PHY_534_DATA */ + 0x000556aa, /* DENALI_PHY_535_DATA */ + 0x000aaaaa, /* 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 */ - 0x00020103, /* DENALI_PHY_657_DATA */ + 0x02020003, /* 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 */ - 0x000fffff, /* DENALI_PHY_663_DATA */ - 0x00000000, /* DENALI_PHY_664_DATA */ + 0x000fffff, /* DENALI_PHY_661_DATA */ + 0x00000000, /* DENALI_PHY_662_DATA */ + 0x000556aa, /* DENALI_PHY_663_DATA */ + 0x000aaaaa, /* 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 */ - 0x00020103, /* DENALI_PHY_785_DATA */ + 0x02020003, /* 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 */ - 0x000fffff, /* DENALI_PHY_791_DATA */ - 0x00000000, /* DENALI_PHY_792_DATA */ + 0x000fffff, /* DENALI_PHY_789_DATA */ + 0x00000000, /* DENALI_PHY_790_DATA */ + 0x000556aa, /* DENALI_PHY_791_DATA */ + 0x000aaaaa, /* 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 d9a801ae4e..716fa92728 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 @@ -317,10 +317,10 @@ struct rk3399_sdram_params params = { 0x00000000, /* DENALI_CTL_253_DATA */ 0x00000000, /* DENALI_CTL_254_DATA */ 0x00000000, /* DENALI_CTL_255_DATA */ - 0x000556aa, /* DENALI_CTL_256_DATA */ - 0x000aaaaa, /* DENALI_CTL_257_DATA */ - 0x000fffff, /* DENALI_CTL_258_DATA */ - 0x00000000, /* DENALI_CTL_259_DATA */ + 0x000fffff, /* DENALI_CTL_256_DATA */ + 0x00000000, /* DENALI_CTL_257_DATA */ + 0x000556aa, /* DENALI_CTL_258_DATA */ + 0x000aaaaa, /* 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 */ - 0x00020103, /* DENALI_PHY_529_DATA */ + 0x02020003, /* 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 */ - 0x000fffff, /* DENALI_PHY_535_DATA */ - 0x00000000, /* DENALI_PHY_536_DATA */ + 0x000fffff, /* DENALI_PHY_533_DATA */ + 0x00000000, /* DENALI_PHY_534_DATA */ + 0x000556aa, /* DENALI_PHY_535_DATA */ + 0x000aaaaa, /* 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 */ - 0x00020103, /* DENALI_PHY_657_DATA */ + 0x02020003, /* 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 */ - 0x000fffff, /* DENALI_PHY_663_DATA */ - 0x00000000, /* DENALI_PHY_664_DATA */ + 0x000fffff, /* DENALI_PHY_661_DATA */ + 0x00000000, /* DENALI_PHY_662_DATA */ + 0x000556aa, /* DENALI_PHY_663_DATA */ + 0x000aaaaa, /* 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 */ - 0x00020103, /* DENALI_PHY_785_DATA */ + 0x02020003, /* 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 */ - 0x000fffff, /* DENALI_PHY_791_DATA */ - 0x00000000, /* DENALI_PHY_792_DATA */ + 0x000fffff, /* DENALI_PHY_789_DATA */ + 0x00000000, /* DENALI_PHY_790_DATA */ + 0x000556aa, /* DENALI_PHY_791_DATA */ + 0x000aaaaa, /* 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 16aea3a483..d2828da6da 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 @@ -317,10 +317,10 @@ struct rk3399_sdram_params params = { 0x00000000, /* DENALI_CTL_253_DATA */ 0x00000000, /* DENALI_CTL_254_DATA */ 0x00000000, /* DENALI_CTL_255_DATA */ - 0x000556aa, /* DENALI_CTL_256_DATA */ - 0x000aaaaa, /* DENALI_CTL_257_DATA */ - 0x000fffff, /* DENALI_CTL_258_DATA */ - 0x00000000, /* DENALI_CTL_259_DATA */ + 0x000fffff, /* DENALI_CTL_256_DATA */ + 0x00000000, /* DENALI_CTL_257_DATA */ + 0x000556aa, /* DENALI_CTL_258_DATA */ + 0x000aaaaa, /* 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 */ - 0x00020103, /* DENALI_PHY_529_DATA */ + 0x02020003, /* 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 */ - 0x000fffff, /* DENALI_PHY_535_DATA */ - 0x00000000, /* DENALI_PHY_536_DATA */ + 0x000fffff, /* DENALI_PHY_533_DATA */ + 0x00000000, /* DENALI_PHY_534_DATA */ + 0x000556aa, /* DENALI_PHY_535_DATA */ + 0x000aaaaa, /* 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 */ - 0x00020103, /* DENALI_PHY_657_DATA */ + 0x02020003, /* 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 */ - 0x000fffff, /* DENALI_PHY_663_DATA */ - 0x00000000, /* DENALI_PHY_664_DATA */ + 0x000fffff, /* DENALI_PHY_661_DATA */ + 0x00000000, /* DENALI_PHY_662_DATA */ + 0x000556aa, /* DENALI_PHY_663_DATA */ + 0x000aaaaa, /* 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 */ - 0x00020103, /* DENALI_PHY_785_DATA */ + 0x02020003, /* 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 */ - 0x000fffff, /* DENALI_PHY_791_DATA */ - 0x00000000, /* DENALI_PHY_792_DATA */ + 0x000fffff, /* DENALI_PHY_789_DATA */ + 0x00000000, /* DENALI_PHY_790_DATA */ + 0x000556aa, /* DENALI_PHY_791_DATA */ + 0x000aaaaa, /* DENALI_PHY_792_DATA */ 0x000b3133, /* DENALI_PHY_793_DATA */ 0x0004cd33, /* DENALI_PHY_794_DATA */ 0x0004cecc, /* DENALI_PHY_795_DATA */ |