summaryrefslogtreecommitdiff
path: root/src/device/dram
diff options
context:
space:
mode:
authorNikolai Vyssotski <nikolai.vyssotski@amd.corp-partner.google.com>2021-06-25 12:00:48 -0500
committerWerner Zeh <werner.zeh@siemens.com>2021-06-28 04:29:57 +0000
commit63e98fc209a66e85e464eb36abe0da2d7eeb9ad3 (patch)
tree8cf99e28295adf61d1647bd18135380a3b8338f4 /src/device/dram
parentd3230b5f7067db693386068247762bb8a4abe631 (diff)
src/device/dram: Add terminating new lines to printk strings
BUG=b:184124605 TEST=check serial log Signed-off-by: Nikolai Vyssotski <nikolai.vyssotski@amd.corp-partner.google.com> Change-Id: I521a2541e23d047e255b0cc8068ad63dfaf70bfa Reviewed-on: https://review.coreboot.org/c/coreboot/+/55851 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/device/dram')
-rw-r--r--src/device/dram/ddr4.c2
-rw-r--r--src/device/dram/lpddr4.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/device/dram/ddr4.c b/src/device/dram/ddr4.c
index cc66dccfea..83beeafba1 100644
--- a/src/device/dram/ddr4.c
+++ b/src/device/dram/ddr4.c
@@ -143,7 +143,7 @@ uint16_t ddr4_speed_mhz_to_reported_mts(uint16_t speed_mhz)
return speed_attr->reported_mts;
}
}
- printk(BIOS_ERR, "ERROR: DDR4 speed of %d MHz is out of range", speed_mhz);
+ printk(BIOS_ERR, "ERROR: DDR4 speed of %d MHz is out of range\n", speed_mhz);
return 0;
}
diff --git a/src/device/dram/lpddr4.c b/src/device/dram/lpddr4.c
index 5b829f7812..990af9334e 100644
--- a/src/device/dram/lpddr4.c
+++ b/src/device/dram/lpddr4.c
@@ -65,6 +65,6 @@ uint16_t lpddr4_speed_mhz_to_reported_mts(uint16_t speed_mhz)
return speed_attr->reported_mts;
}
}
- printk(BIOS_ERR, "ERROR: LPDDR4 speed of %d MHz is out of range", speed_mhz);
+ printk(BIOS_ERR, "ERROR: LPDDR4 speed of %d MHz is out of range\n", speed_mhz);
return 0;
}