This will enable u-boot console mode with any key input from console
and support thordown command, then LITMUS auto test system can use
thordown command from u-boot prompt.
Change-Id: I4f0b98e60d7dcee74ceabc1d0de70cc22c7bf0d0
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
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{
return;
}
+
+int do_thor_down(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+{
+ puts("TIZEN \"THOR\" Downloader\n");
+
+ thor_mode();
+}
+
+U_BOOT_CMD(thordown, 1, 1, do_thor_down,
+ "TIZEN \"THOR\" downloader",
+ ""
+);