]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_net.c
* Patch by Masami Komiy, 22 Feb 2004:
[karo-tx-uboot.git] / common / cmd_net.c
index e9b54d24509a73cb358934eaafaa8d5264f5815b..f13e9d493c37c08c734a0d762bf0ea9cff9833af 100644 (file)
@@ -81,6 +81,19 @@ U_BOOT_CMD(
 );
 #endif /* CFG_CMD_DHCP */
 
+#if (CONFIG_COMMANDS & CFG_CMD_NFS)
+int do_nfs (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+{
+       return netboot_common(NFS, cmdtp, argc, argv);
+}
+
+U_BOOT_CMD(
+       nfs,    3,      1,      do_nfs,
+       "nfs    - boot image via network using NFS protocol\n",
+       "[loadAddress] [host ip addr:bootfilename]\n"
+);
+#endif /* CFG_CMD_NFS */
+
 static void netboot_update_env(void)
 {
     char tmp[16] ;