summaryrefslogtreecommitdiff
path: root/cmd/load.c
diff options
context:
space:
mode:
authorDavid Müller (ELSOFT AG) <d.mueller@elsoft.ch>2016-02-06 07:57:26 +0100
committerTom Rini <trini@konsulko.com>2016-02-08 10:22:44 -0500
commitb7fbdc60abaf3224e9fca62d0c4759072bdc60ad (patch)
tree9b5b6a50b3ff5146d86a6b3600efc83958d65ac1 /cmd/load.c
parent928f6054555618c9700bc5ebc16b9a661fd3ead7 (diff)
downloadu-boot-imx-b7fbdc60abaf3224e9fca62d0c4759072bdc60ad.zip
u-boot-imx-b7fbdc60abaf3224e9fca62d0c4759072bdc60ad.tar.gz
u-boot-imx-b7fbdc60abaf3224e9fca62d0c4759072bdc60ad.tar.bz2
Remove unused CONFIG_CMD_HWFLOW option and associated dead code.
Signed-off-by: David Müller <d.mueller@elsoft.ch>
Diffstat (limited to 'cmd/load.c')
-rw-r--r--cmd/load.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/cmd/load.c b/cmd/load.c
index 0aa7937..65557e4 100644
--- a/cmd/load.c
+++ b/cmd/load.c
@@ -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 */