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>
This commit is contained in:
Derek Basehore 2016-11-02 20:07:57 -07:00 committed by Martin Roth
parent 00ad7ff1ca
commit 96831e69a0
3 changed files with 57 additions and 57 deletions

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */