[U-Boot] [PATCH 2/5] sunxi: display: Do not use eprintf in early boot

Hans de Goede hdegoede at redhat.com
Mon Nov 24 17:14:16 CET 2014


stderr is not hooked up yet as this point, so use a regular printf.

Signed-off-by: Hans de Goede <hdegoede at redhat.com>
---
 drivers/video/sunxi_display.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/sunxi_display.c b/drivers/video/sunxi_display.c
index fb28c23..5154084 100644
--- a/drivers/video/sunxi_display.c
+++ b/drivers/video/sunxi_display.c
@@ -351,7 +351,7 @@ retry:
 	    (SUNXI_HDMI_IRQ_STATUS_FIFO_UF | SUNXI_HDMI_IRQ_STATUS_FIFO_OF)) {
 		if (retries--)
 			goto retry;
-		eprintf("HDMI fifo under or overrun\n");
+		printf("HDMI fifo under or overrun\n");
 	}
 }
 
-- 
2.1.0



More information about the U-Boot mailing list