diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2010-09-30 11:25:48 -0500 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2010-10-11 23:00:29 -0700 |
commit | bf6cb247a5df202fbed4fd43df477d863b68fbe1 (patch) | |
tree | 364503e9fb4b160fbf0f985aee02a486d2d2aed5 /common/cmd_net.c | |
parent | 3f91ec0fa1ceab413fa2e74b4ffd37ab505cc66c (diff) | |
download | u-boot-imx-bf6cb247a5df202fbed4fd43df477d863b68fbe1.zip u-boot-imx-bf6cb247a5df202fbed4fd43df477d863b68fbe1.tar.gz u-boot-imx-bf6cb247a5df202fbed4fd43df477d863b68fbe1.tar.bz2 |
rarp: Condtionally compile rarp support
Most people don't use the 'rarpboot' command, so only enable it when
CONFIG_CMD_RARP is defined.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'common/cmd_net.c')
-rw-r--r-- | common/cmd_net.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/cmd_net.c b/common/cmd_net.c index 3ffb9df..44d17db 100644 --- a/common/cmd_net.c +++ b/common/cmd_net.c @@ -54,6 +54,7 @@ U_BOOT_CMD( "[loadAddress] [[hostIPaddr:]bootfilename]" ); +#ifdef CONFIG_CMD_RARP int do_rarpb (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { return netboot_common (RARP, cmdtp, argc, argv); @@ -64,6 +65,7 @@ U_BOOT_CMD( "boot image via network using RARP/TFTP protocol", "[loadAddress] [[hostIPaddr:]bootfilename]" ); +#endif #if defined(CONFIG_CMD_DHCP) int do_dhcp (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) |