Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/39847 )
Change subject: soc/intel/tigerlake: Support to initialize Memory
......................................................................
Patch Set 5:
(2 comments)
https://review.coreboot.org/c/coreboot/+/39847/5/src/soc/intel/tigerlake/mem...
File src/soc/intel/tigerlake/meminit_tgl.c:
https://review.coreboot.org/c/coreboot/+/39847/5/src/soc/intel/tigerlake/mem...
PS5, Line 89: MEM_INIT_CH_DQ_DQS_MAP(mem_cfg, board_cfg, 0);
: MEM_INIT_CH_DQ_DQS_MAP(mem_cfg, board_cfg, 1);
: MEM_INIT_CH_DQ_DQS_MAP(mem_cfg, board_cfg, 2);
: MEM_INIT_CH_DQ_DQS_MAP(mem_cfg, board_cfg, 3);
: MEM_INIT_CH_DQ_DQS_MAP(mem_cfg, board_cfg, 4);
: MEM_INIT_CH_DQ_DQS_MAP(mem_cfg, board_cfg, 5);
: MEM_INIT_CH_DQ_DQS_MAP(mem_cfg, board_cfg, 6);
: MEM_INIT_CH_DQ_DQS_MAP(mem_cfg, board_cfg, 7
Could not do it with macro defined
I don't think this is completely correct. DDR4 only supports 2 channels.
https://review.coreboot.org/c/coreboot/+/39847/5/src/soc/intel/tigerlake/mem...
PS5, Line 179: meminit_ddr4x_sodimm
I think we can reorganize this file slightly different to allow easier sharing and also enable support for different configurations. Let me see if I can rearrange the LPDDR4x code and you can rebase on top of it.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/39847
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I47a5dcad3ee316871a6103b9d53ef7f6fc88d7d8
Gerrit-Change-Number: 39847
Gerrit-PatchSet: 5
Gerrit-Owner: Varun Joshi
varun.joshi@intel.com
Gerrit-Reviewer: Anil Kumar K
anil.kumar.k@intel.corp-partner.google.com
Gerrit-Reviewer: Bernardo Perez Priego
bernardo.perez.priego@intel.corp-partner.google.com
Gerrit-Reviewer: Bora Guvendik
bora.guvendik@intel.com
Gerrit-Reviewer: EricR Lai
ericr_lai@compal.corp-partner.google.com
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Selma Bensaid
selma.bensaid@intel.corp-partner.google.com
Gerrit-Reviewer: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-Reviewer: Varun Joshi
varun.joshi@intel.corp-partner.google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-CC: Selma Bensaid
selma.bensaid@intel.com
Gerrit-Comment-Date: Thu, 26 Mar 2020 21:22:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Tim Wawrzynczak
twawrzynczak@chromium.org
Comment-In-Reply-To: Varun Joshi
varun.joshi@intel.corp-partner.google.com
Gerrit-MessageType: comment