summaryrefslogtreecommitdiff
path: root/lib/sbi_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sbi_init.c')
-rw-r--r--lib/sbi_init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sbi_init.c b/lib/sbi_init.c
index bc274365..32ad8221 100644
--- a/lib/sbi_init.c
+++ b/lib/sbi_init.c
@@ -91,7 +91,8 @@ static void __noreturn init_coldboot(struct sbi_scratch *scratch, u32 hartid)
if (rc)
sbi_hart_hang();
- sbi_boot_prints(scratch, hartid);
+ if (!(scratch->options & SBI_SCRATCH_NO_BOOT_PRINTS))
+ sbi_boot_prints(scratch, hartid);
if (!sbi_platform_has_hart_hotplug(plat))
sbi_hart_wake_coldboot_harts(scratch, hartid);