From 9ff660e218345ac21f266d0a8dc8514f5d651e64 Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Wed, 22 Aug 2018 16:46:04 +1000 Subject: Qemu: don't print PR_WARNING on qemu defining rtc/uart This helps us boot more warning/error free on qemu Signed-off-by: Stewart Smith Signed-off-by: Stewart Smith --- platforms/qemu/qemu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platforms/qemu/qemu.c b/platforms/qemu/qemu.c index a9b4f57..2e9884d 100644 --- a/platforms/qemu/qemu.c +++ b/platforms/qemu/qemu.c @@ -135,7 +135,7 @@ static void qemu_dt_fixup_uart(struct dt_node *lpc) /* check if the UART device was defined by qemu */ dt_for_each_child(lpc, uart) { if (dt_node_is_compatible(uart, "pnpPNP,501")) { - prlog(PR_WARNING, "QEMU: uart device already here\n"); + prlog(PR_DEBUG, "QEMU: uart device already here\n"); return; } } @@ -174,7 +174,7 @@ static void qemu_dt_fixup_rtc(struct dt_node *lpc) /* check if the RTC device was defined by qemu */ dt_for_each_child(lpc, rtc) { if (dt_node_is_compatible(rtc, "pnpPNP,b00")) { - prlog(PR_WARNING, "QEMU: rtc device already here\n"); + prlog(PR_DEBUG, "QEMU: rtc device already here\n"); return; } } -- cgit v1.1