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: support thordown command from console
[profile/mobile/platform/kernel/u-boot-tm1.git]
/
property
/
cmd_cboot.c
diff --git
a/property/cmd_cboot.c
b/property/cmd_cboot.c
index
968bbfe
..
d184fd8
100755
(executable)
--- a/
property/cmd_cboot.c
+++ b/
property/cmd_cboot.c
@@
-319,6
+319,9
@@
int do_cboot(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
cmd_mode_regist(boot_mode_array);
if((bootmode > CMD_POWER_DOWN_DEVICE) && (0 != boot_mode_array[bootmode])){
cmd_mode_regist(boot_mode_array);
if((bootmode > CMD_POWER_DOWN_DEVICE) && (0 != boot_mode_array[bootmode])){
+ /* goto main_loop() if any input is hit from console */
+ if (tstc())
+ return 0;
DBG("do_cboot: enter boot mode\n");
boot_mode_array[bootmode]();
}else{
DBG("do_cboot: enter boot mode\n");
boot_mode_array[bootmode]();
}else{