lib/dimm_info_util.c: Add newlines to log messages

Add newlines to log messages to prevent them from running into each
other.

Change-Id: I4f61c80385f384a3734a5122ccb4161c1ed7c6c5
Signed-off-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75589
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Fred Reitberger 2023-06-02 11:50:48 -04:00 committed by Felix Held
parent e441b31917
commit 83a3b34178
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ uint8_t smbios_bus_width_to_spd_width(uint8_t ddr_type, uint16_t total_width,
out = MEMORY_BUS_WIDTH_8;
break;
default:
printk(BIOS_NOTICE, "Unknown memory size %hu", data_width);
printk(BIOS_NOTICE, "Unknown memory size %hu\n", data_width);
/*
* The SMBIOS spec says we should set 0xFFFF on an unknown
* value, but we don't have a way of passing that signal via SPD
@ -49,7 +49,7 @@ uint8_t smbios_bus_width_to_spd_width(uint8_t ddr_type, uint16_t total_width,
/* No extension bits */
break;
default:
printk(BIOS_NOTICE, "Unknown number of extension bits %hu",
printk(BIOS_NOTICE, "Unknown number of extension bits %hu\n",
extension_bits);
break;
}