summaryrefslogtreecommitdiff
path: root/common/cmd_net.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-07-01 21:06:45 +0000
committerwdenk <wdenk>2003-07-01 21:06:45 +0000
commit0d4983930a3559be92452761cfa268ee9d0f2773 (patch)
treecfb77c1274a959cde007a7ac4e18b4b0d67bd253 /common/cmd_net.c
parentb37c7e5e5c3c80c68f49a31c4308b159bb5bda1a (diff)
downloadu-boot-imx-0d4983930a3559be92452761cfa268ee9d0f2773.zip
u-boot-imx-0d4983930a3559be92452761cfa268ee9d0f2773.tar.gz
u-boot-imx-0d4983930a3559be92452761cfa268ee9d0f2773.tar.bz2
Patch by Kenneth Johansson, 30 Jun 2003:
get rid of MK_CMD_ENTRY macro; update doc/README.command
Diffstat (limited to 'common/cmd_net.c')
-rw-r--r--common/cmd_net.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/common/cmd_net.c b/common/cmd_net.c
index 01f5f91..fd7ff56 100644
--- a/common/cmd_net.c
+++ b/common/cmd_net.c
@@ -40,8 +40,8 @@ int do_bootp (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return netboot_common (BOOTP, cmdtp, argc, argv);
}
-cmd_tbl_t U_BOOT_CMD(BOOTP) = MK_CMD_ENTRY(
- "bootp", 3, 1, do_bootp,
+U_BOOT_CMD(
+ bootp, 3, 1, do_bootp,
"bootp - boot image via network using BootP/TFTP protocol\n",
"[loadAddress] [bootfilename]\n"
);
@@ -51,8 +51,8 @@ int do_tftpb (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return netboot_common (TFTP, cmdtp, argc, argv);
}
-cmd_tbl_t U_BOOT_CMD(TFTPB) = MK_CMD_ENTRY(
- "tftpboot", 3, 1, do_tftpb,
+U_BOOT_CMD(
+ tftpboot, 3, 1, do_tftpb,
"tftpboot- boot image via network using TFTP protocol\n",
"[loadAddress] [bootfilename]\n"
);
@@ -62,8 +62,8 @@ int do_rarpb (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return netboot_common (RARP, cmdtp, argc, argv);
}
-cmd_tbl_t U_BOOT_CMD(RARPB) = MK_CMD_ENTRY(
- "rarpboot", 3, 1, do_rarpb,
+U_BOOT_CMD(
+ rarpboot, 3, 1, do_rarpb,
"rarpboot- boot image via network using RARP/TFTP protocol\n",
"[loadAddress] [bootfilename]\n"
);
@@ -74,8 +74,8 @@ int do_dhcp (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return netboot_common(DHCP, cmdtp, argc, argv);
}
-cmd_tbl_t U_BOOT_CMD(DHCP) = MK_CMD_ENTRY(
- "dhcp", 3, 1, do_dhcp,
+U_BOOT_CMD(
+ dhcp, 3, 1, do_dhcp,
"dhcp - invoke DHCP client to obtain IP/boot params\n",
"\n"
);