zanxi chen has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/75617?usp=email )
Change subject: test: only enable channel 1 for dedede ......................................................................
test: only enable channel 1 for dedede
Change-Id: I2d50da1533e97ba23f914c8d62e097402cd48643 --- M src/soc/intel/jasperlake/meminit.c 1 file changed, 6 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/75617/1
diff --git a/src/soc/intel/jasperlake/meminit.c b/src/soc/intel/jasperlake/meminit.c index 9cf5ecb..ceb5a35 100644 --- a/src/soc/intel/jasperlake/meminit.c +++ b/src/soc/intel/jasperlake/meminit.c @@ -68,18 +68,18 @@ static void meminit_channels(FSP_M_CONFIG *mem_cfg, const struct mb_cfg *board_cfg, uintptr_t spd_data_ptr, bool half_populated) { - /* Channel 0 */ - mem_cfg->MemorySpdPtr00 = spd_data_ptr; - mem_cfg->MemorySpdPtr01 = 0; + /* Channel 1 */ + mem_cfg->MemorySpdPtr10 = spd_data_ptr; + mem_cfg->MemorySpdPtr11 = 0;
if (half_populated) { printk(BIOS_INFO, "%s: DRAM half-populated\n", __func__); spd_data_ptr = 0; }
- /* Channel 1 */ - mem_cfg->MemorySpdPtr10 = spd_data_ptr; - mem_cfg->MemorySpdPtr11 = 0; + /* Channel 0 */ + //mem_cfg->MemorySpdPtr00 = spd_data_ptr; + //mem_cfg->MemorySpdPtr01 = 0;
meminit_dq_dqs_map(mem_cfg, board_cfg, half_populated); }