From b7fbdc60abaf3224e9fca62d0c4759072bdc60ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20M=C3=BCller=20=28ELSOFT=20AG=29?= Date: Sat, 6 Feb 2016 07:57:26 +0100 Subject: Remove unused CONFIG_CMD_HWFLOW option and associated dead code. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: David Müller --- cmd/load.c | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'cmd/load.c') diff --git a/cmd/load.c b/cmd/load.c index 0aa7937fd4..65557e4f9e 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 */ -- cgit v1.2.1