s5pc110: aquila: show download msg to LCD
authorMinkyu Kang <mk7.kang@samsung.com>
Wed, 4 Nov 2009 11:05:22 +0000 (20:05 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 4 Nov 2009 11:05:22 +0000 (20:05 +0900)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
cpu/arm_cortexa8/s5pc1xx/usb_downloader.c

index 1ab1679..2e44dac 100644 (file)
@@ -22,6 +22,7 @@
 #include <common.h>
 #include "usbd.h"
 #include "usb-hs-otg.h"
+#include <fbutils.h>
 
 static char tx_data[8] = "MPL";
 static long tx_len = 4;
@@ -72,6 +73,12 @@ static void usb_init(void)
        printf("USB Start!! - %s Speed\n",
                        otg.speed ? "Full" : "High");
 
+#ifdef CONFIG_S5PC1XXFB
+       init_font();
+       set_font_color(FONT_WHITE);
+       fb_printf("Ready to USB Connection\n");
+#endif
+
        while (!s5p_usb_connected) {
                if (s5p_usb_detect_irq()) {
                        s5p_udc_int_hndlr();
@@ -82,6 +89,12 @@ static void usb_init(void)
        s5p_usb_clear_dnfile_info();
 
        printf("Connected!!\n");
+
+#ifdef CONFIG_S5PC1XXFB
+       fb_printf("Download Start\n");
+       exit_font();
+#endif
+
 }
 
 /*