cmd: CMD_CLS should not depend on video
[platform/kernel/u-boot.git] / cmd / boot.c
index b84c0ed..14839c1 100644 (file)
@@ -29,9 +29,10 @@ static int do_go(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
        if (argc < 2)
                return CMD_RET_USAGE;
 
-       addr = simple_strtoul(argv[1], NULL, 16);
+       addr = hextoul(argv[1], NULL);
 
        printf ("## Starting application at 0x%08lX ...\n", addr);
+       flush();
 
        /*
         * pass address parameter as argv[0] (aka command name),
@@ -58,7 +59,8 @@ U_BOOT_CMD(
 U_BOOT_CMD(
        reset, 2, 0,    do_reset,
        "Perform RESET of the CPU",
-       ""
+       "- cold boot without level specifier\n"
+       "reset -w - warm reset if implemented"
 );
 
 #ifdef CONFIG_CMD_POWEROFF