vendorcode/google/dram_part_num: Lower the severity of debug statement

DRAM part number may not be provisioned in CBI during early stages of
development. Logging the debug statement with error severity interferes
with some of the test tools. Lower the severity of debug statement to
BIOS_DEBUG.

BUG=b:170529094
TEST=Build and boot to ChromeOS in Drawlat.

Change-Id: Ib0c707ec6478060d6e18ea01cc467dfda00a6d42
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46299
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Karthikeyan Ramasubramanian 2020-10-12 10:01:28 -06:00 committed by Patrick Georgi
parent 4744ca7d05
commit 2d49f220ea
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ const char *mainboard_get_dram_part_num(void)
if (part_num_state == PART_NUM_NOT_READ) { if (part_num_state == PART_NUM_NOT_READ) {
if (google_chromeec_cbi_get_dram_part_num(part_num_store, if (google_chromeec_cbi_get_dram_part_num(part_num_store,
sizeof(part_num_store)) < 0) { sizeof(part_num_store)) < 0) {
printk(BIOS_ERR, printk(BIOS_DEBUG,
"ERROR: Couldn't obtain DRAM part number from CBI\n"); "Couldn't obtain DRAM part number from CBI\n");
part_num_state = PART_NUM_NOT_IN_CBI; part_num_state = PART_NUM_NOT_IN_CBI;
} else { } else {
part_num_state = PART_NUM_AVAILABLE; part_num_state = PART_NUM_AVAILABLE;