projects
/
profile
/
mobile
/
platform
/
kernel
/
u-boot-tm1.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
diff --git
a/arch/arm/cpu/armv7/sc8830/misc.c
b/arch/arm/cpu/armv7/sc8830/misc.c
index
b7a86e6
..
07fbd8c
100755
(executable)
--- a/
arch/arm/cpu/armv7/sc8830/misc.c
+++ b/
arch/arm/cpu/armv7/sc8830/misc.c
@@
-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;