tizen: tm1: enter the download mode when usb is connected
[profile/mobile/platform/kernel/u-boot-tm1.git] / arch / arm / cpu / armv7 / sc8830 / misc.c
index b7a86e6..07fbd8c 100755 (executable)
@@ -432,8 +432,10 @@ int tizen_reboot_check(void)
        int inform3 = readl(INFORM3);
 
        if ((inform3 & REBOOT_MODE_MASK) == REBOOT_MODE_PREFIX) {
-               if ((inform3 & 0xf) == REBOOT_THOR_DOWNLOAD)
+               if ((inform3 & 0xf) == REBOOT_THOR_DOWNLOAD) {
+                       writel(0, INFORM3);
                        return 1;
+               }
        }
 
        return 0;