From 0e6d798cb313580acd06ba01626687a557c5159f Mon Sep 17 00:00:00 2001 From: wdenk Date: Sun, 14 Mar 2004 00:07:33 +0000 Subject: * Patch by Travis Sawyer, 01 Mar 2004: Ocotea: - Add IBM PPC440GX Ref Platform support (Ocotea) Original code by Paul Reynolds Adapted to U-Boot and 440GX port 440gx_enet.c: - Add gracious handling of all Ethernet Pin Selections for 440GX - Add RGMII selection for Cicada CIS8201 Gigabit PHY ppc440.h: - Add needed bit definitions - Fix formatting * Patch by Carl Riechers, 1 Mar 2004: Add PPC440GX prbdv0 divider to fix memory clock calculation. * Patch by Stephan Linz, 27 Feb 2004 - avoid problems for targets without NFS download support --- net/bootp.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'net/bootp.c') diff --git a/net/bootp.c b/net/bootp.c index f5adce4f5..b760b885b 100644 --- a/net/bootp.c +++ b/net/bootp.c @@ -339,12 +339,14 @@ BootpHandler(uchar * pkt, unsigned dest, unsigned src, unsigned len) */ 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 } } @@ -893,12 +895,14 @@ DhcpHandler(uchar * pkt, unsigned dest, unsigned src, unsigned len) */ 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(); -- cgit v1.2.3