Scott Chao has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/63681 )
Change subject: crota: modify DQ/ DQS table ......................................................................
crota: modify DQ/ DQS table
BUG=b: BRANCH=none TEST=pass memory training with error
Signed-off-by: Scott Chao scott_chao@wistron.corp-partner.google.com Change-Id: If6acf8cb9474f816374743fd1e800da46958993d --- M src/mainboard/google/brya/variants/crota/memory.c 1 file changed, 18 insertions(+), 18 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/81/63681/1
diff --git a/src/mainboard/google/brya/variants/crota/memory.c b/src/mainboard/google/brya/variants/crota/memory.c index 659d214..a9b2f494 100644 --- a/src/mainboard/google/brya/variants/crota/memory.c +++ b/src/mainboard/google/brya/variants/crota/memory.c @@ -18,36 +18,36 @@ /* DQ byte map */ .lpx_dq_map = { .ddr0 = { - .dq0 = { 3, 2, 1, 0, 5, 4, 6, 7, }, - .dq1 = { 15, 14, 12, 13, 8, 9, 10, 11, }, + .dq0 = { 0, 3, 1, 2, 7, 6, 4, 5, }, + .dq1 = { 13, 12, 14, 15, 11, 8, 10, 9, }, }, .ddr1 = { - .dq0 = { 0, 2, 3, 1, 5, 7, 4, 6, }, - .dq1 = { 14, 13, 15, 12, 8, 9, 11, 10, }, + .dq0 = { 7, 6, 5, 4, 2, 1, 0, 3, }, + .dq1 = { 9, 8, 10, 11, 13, 14, 15, 12, }, }, .ddr2 = { - .dq0 = { 1, 2, 0, 3, 4, 6, 5, 7, }, - .dq1 = { 15, 13, 12, 14, 9, 10, 8, 11, }, + .dq0 = { 8, 11, 9, 10, 12, 14, 13, 15, }, + .dq1 = { 5, 7, 6, 4, 1, 2, 3, 0, }, }, .ddr3 = { - .dq0 = { 2, 1, 3, 0, 7, 4, 5, 6, }, - .dq1 = { 13, 12, 15, 14, 9, 11, 8, 10, }, + .dq0 = { 2, 0, 1, 3, 7, 6, 5, 4, }, + .dq1 = { 12, 13, 14, 15, 11, 8, 9, 10, }, }, .ddr4 = { - .dq0 = { 1, 2, 3, 0, 6, 4, 5, 7, }, - .dq1 = { 15, 13, 14, 12, 10, 9, 8, 11, }, + .dq0 = { 0, 3, 1, 2, 7, 5, 6, 4, }, + .dq1 = { 12, 14, 13, 15, 10, 8, 11, 9, }, }, .ddr5 = { - .dq0 = { 1, 0, 3, 2, 6, 7, 4, 5, }, - .dq1 = { 14, 12, 15, 13, 8, 9, 10, 11, }, + .dq0 = { 10, 8, 9, 11, 13, 15, 14, 12, }, + .dq1 = { 7, 6, 5, 4, 3, 1, 0, 2, }, }, .ddr6 = { - .dq0 = { 0, 2, 1, 3, 4, 7, 5, 6, }, - .dq1 = { 12, 13, 15, 14, 9, 11, 10, 8, }, + .dq0 = { 6, 4, 5, 7, 1, 0, 2, 3, }, + .dq1 = { 8, 9, 10, 11, 13, 15, 14, 12, }, }, .ddr7 = { - .dq0 = { 3, 2, 1, 0, 5, 4, 6, 7, }, - .dq1 = { 13, 15, 11, 12, 10, 9, 14, 8, }, + .dq0 = { 1 , 2, 0, 3, 5, 6, 7, 4, }, + .dq1 = { 12, 13, 14, 15, 11, 8, 10, 9, }, }, },
@@ -55,10 +55,10 @@ .lpx_dqs_map = { .ddr0 = { .dqs0 = 0, .dqs1 = 1 }, .ddr1 = { .dqs0 = 0, .dqs1 = 1 }, - .ddr2 = { .dqs0 = 0, .dqs1 = 1 }, + .ddr2 = { .dqs0 = 1, .dqs1 = 0 }, .ddr3 = { .dqs0 = 0, .dqs1 = 1 }, .ddr4 = { .dqs0 = 0, .dqs1 = 1 }, - .ddr5 = { .dqs0 = 0, .dqs1 = 1 }, + .ddr5 = { .dqs0 = 1, .dqs1 = 0 }, .ddr6 = { .dqs0 = 0, .dqs1 = 1 }, .ddr7 = { .dqs0 = 0, .dqs1 = 1 } },