]> git.sur5r.net Git - u-boot/commitdiff
Remove unused CONFIG_CMD_HWFLOW option and associated dead code.
authorDavid Müller (ELSOFT AG) <d.mueller@elsoft.ch>
Sat, 6 Feb 2016 06:57:26 +0000 (07:57 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 8 Feb 2016 15:22:44 +0000 (10:22 -0500)
Signed-off-by: David Müller <d.mueller@elsoft.ch>
cmd/load.c
include/config_cmd_all.h

index 0aa7937fd4bfeed10a283bbdcd42c129350c0bf6..65557e4f9ec3737aa14569ef97d1db4a561fcb25 100644 (file)
@@ -1081,33 +1081,3 @@ U_BOOT_CMD(
 );
 
 #endif /* CONFIG_CMD_LOADB */
-
-/* -------------------------------------------------------------------- */
-
-#if defined(CONFIG_CMD_HWFLOW)
-int do_hwflow(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
-{
-       extern int hwflow_onoff(int);
-
-       if (argc == 2) {
-               if (strcmp(argv[1], "off") == 0)
-                       hwflow_onoff(-1);
-               else
-                       if (strcmp(argv[1], "on") == 0)
-                               hwflow_onoff(1);
-                       else
-                               return CMD_RET_USAGE;
-       }
-       printf("RTS/CTS hardware flow control: %s\n", hwflow_onoff(0) ? "on" : "off");
-       return 0;
-}
-
-/* -------------------------------------------------------------------- */
-
-U_BOOT_CMD(
-       hwflow, 2, 0,   do_hwflow,
-       "turn RTS/CTS hardware flow control in serial line on/off",
-       "[on|off]"
-);
-
-#endif /* CONFIG_CMD_HWFLOW */
index 424721b7e746f3be981e998e2e9073f3774ad38b..e858e558379ab3cb11a6ccaccf21e8bcad2249e9 100644 (file)
@@ -34,7 +34,6 @@
 #define CONFIG_CMD_FUSE                /* Device fuse support          */
 #define CONFIG_CMD_GETTIME     /* Get time since boot         */
 #define CONFIG_CMD_HASH                /* calculate hash / digest      */
-#define CONFIG_CMD_HWFLOW      /* RTS/CTS hw flow control      */
 #define CONFIG_CMD_I2C         /* I2C serial bus support       */
 #define CONFIG_CMD_IDE         /* IDE harddisk support         */
 #define CONFIG_CMD_IMMAP       /* IMMR dump support            */