All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephan Linz <linz@mazet.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] make some targets more related to latest NFS patch
Date: Sun, 29 Feb 2004 00:03:02 +0100	[thread overview]
Message-ID: <04022900030200.30756@pcj86> (raw)

Hi all,

... smal bug fix for some targets without CFG_CMD_NFS support (esp. Nios)
... fixes broken compilation run ...



Best Regards,
Stephan Linz
-------------- next part --------------
diff -purN -x CVS u-boot-20040227cvs/net/bootp.c u-boot-20040227cvs-nfs_fix/net/bootp.c
--- u-boot-20040227cvs/net/bootp.c	2004-02-27 08:20:56.000000000 +0000
+++ u-boot-20040227cvs-nfs_fix/net/bootp.c	2004-02-27 23:31:25.000000000 +0000
@@ -339,12 +339,14 @@ BootpHandler(uchar * pkt, unsigned dest,
 			 */
 			NetState = NETLOOP_SUCCESS;
 			return;
+#if	(CONFIG_COMMANDS & CFG_CMD_NFS)
 		} else if (strcmp(s, "NFS") == 0) {
 			/*
 			 * Use NFS to load the bootfile.
 			 */
 			NfsStart();
 			return;
+#endif
 		}
 	}
 
@@ -897,12 +899,14 @@ DhcpHandler(uchar * pkt, unsigned dest, 
 					 */
 					NetState = NETLOOP_SUCCESS;
 					return;
+#if	(CONFIG_COMMANDS & CFG_CMD_NFS)
 				} else if (strcmp(s, "NFS") == 0) {
 					/*
 					 * Use NFS to load the bootfile.
 					 */
 					NfsStart();
 					return;
+#endif
 				}
 			}
 			TftpStart();
-------------- next part --------------
* Patch by Stephan Linz, 27 Feb 2004
  - avoid unresolved symbol of NfsStart() in net/bootp.c
    for targets without NFS download support

             reply	other threads:[~2004-02-28 23:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-28 23:03 Stephan Linz [this message]
2004-03-13 23:42 ` [U-Boot-Users] [PATCH] make some targets more related to latest NFS patch Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=04022900030200.30756@pcj86 \
    --to=linz@mazet.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.