summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-04-15 01:01:18 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-06-30 12:47:04 +0200
commita0b061147767c16eb443f510b7424e03d2f07209 (patch)
tree725924a4274da12d845b4f742c20187ab9d555fe /commands
parent2fa9e369ebfc349422b813c721245604db61480a (diff)
downloadbarebox-a0b061147767c16eb443f510b7424e03d2f07209.tar.gz
barebox-a0b061147767c16eb443f510b7424e03d2f07209.tar.xz
remove dead rarpboot command
This code is unused, remove it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
-rw-r--r--commands/net.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/commands/net.c b/commands/net.c
index a453f4ed33..e77f12fce6 100644
--- a/commands/net.c
+++ b/commands/net.c
@@ -36,35 +36,6 @@
#include <errno.h>
#include <libbb.h>
-#ifdef CONFIG_NET_RARP
-extern void RarpRequest(void);
-
-static int do_rarpb(int argc, char *argv[])
-{
- int size;
-
- if (NetLoopInit(RARP) < 0)
- return 1;
-
- NetOurIP = 0;
- RarpRequest(); /* Basically same as BOOTP */
-
- if ((size = NetLoop()) < 0)
- return 1;
-
- /* NetLoop ok, update environment */
- netboot_update_env();
-
- return 0;
-}
-
-BAREBOX_CMD_START(rarpboot)
- .cmd = do_rarpb,
- .usage = "boot image via network using rarp/tftp protocol",
- BAREBOX_CMD_HELP("[loadAddress] [bootfilename]\n")
-BAREBOX_CMD_END
-#endif /* CONFIG_NET_RARP */
-
static int do_ethact(int argc, char *argv[])
{
struct eth_device *edev;