summaryrefslogtreecommitdiff
path: root/drivers/staging/renesas/rcar/ddr/ddr_b
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2019-01-21 23:11:33 +0100
committerMarek Vasut <marek.vasut+renesas@gmail.com>2019-01-29 06:07:21 +0100
commitc87c8f85b1b3e72521216bbae2de42e9feca854f (patch)
tree71e8437edeb8bd69c70848c3416aba167acd58d6 /drivers/staging/renesas/rcar/ddr/ddr_b
parent458a449cfd8bc80c4cfb11b3f8fdf5eb5ac1e11b (diff)
rcar_gen3: drivers: ddr: Clean up printouts
Clean up the NOTICE() and FATAL_MSG() outputs, so that they contain proper newlines and BL2 prefixes. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Diffstat (limited to 'drivers/staging/renesas/rcar/ddr/ddr_b')
-rw-r--r--drivers/staging/renesas/rcar/ddr/ddr_b/boot_init_dram.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/renesas/rcar/ddr/ddr_b/boot_init_dram.c b/drivers/staging/renesas/rcar/ddr/ddr_b/boot_init_dram.c
index 78f0f114..f4bfdde1 100644
--- a/drivers/staging/renesas/rcar/ddr/ddr_b/boot_init_dram.c
+++ b/drivers/staging/renesas/rcar/ddr/ddr_b/boot_init_dram.c
@@ -2826,7 +2826,7 @@ static uint32_t pll3_freq(uint32_t on)
set_freqchgack(0);
if (timeout) {
- FATAL_MSG("Time out[2]");
+ FATAL_MSG("BL2: Time out[2]\n");
return (1);
}
return (0);
@@ -3012,13 +3012,13 @@ static uint32_t init_ddr(void)
***********************************************************************/
#ifdef DDR_BACKUPMODE
if (ddrBackup) {
- NOTICE("[WARM_BOOT]");
+ NOTICE("BL2: [WARM_BOOT]\n");
} else {
- NOTICE("[COLD_BOOT]");
+ NOTICE("BL2: [COLD_BOOT]\n");
}
err = rcar_dram_update_boot_status(ddrBackup);
if (err) {
- NOTICE("[BOOT_STATUS_UPDATE_ERROR]");
+ NOTICE("BL2: [BOOT_STATUS_UPDATE_ERROR]\n");
return INITDRAM_ERR_I;
}
#endif