soc/intel/cannonlake: memory spd data debug
Add printing SPD data for debug usage. BUG=b:139397313 BRANCH=N/A TEST=Tested the on Hatch and checked cbmem log. Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com> Change-Id: I1e257a8ea6ff9c906267841819d2a4b62a9e0b9e Reviewed-on: https://review.coreboot.org/c/coreboot/+/35235 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
parent
fdb9805d68
commit
d5c8912f1e
|
@ -81,6 +81,7 @@ static void meminit_spd_data(FSP_M_CONFIG *mem_cfg, uint8_t mem_slot,
|
|||
default:
|
||||
die("nonexistent memory slot");
|
||||
}
|
||||
printk(BIOS_INFO, "memory slot: %d configuration done.\n", mem_slot);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -112,6 +113,7 @@ static void meminit_cbfs_spd_index(FSP_M_CONFIG *mem_cfg,
|
|||
|
||||
spd_data_ptr = (uintptr_t)rdev_mmap_full(&spd_rdev);
|
||||
last_spd_index = spd_index;
|
||||
print_spd_info((unsigned char *)spd_data_ptr);
|
||||
}
|
||||
|
||||
meminit_spd_data(mem_cfg, mem_slot, spd_data_len, spd_data_ptr);
|
||||
|
|
Loading…
Reference in New Issue