From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ppc: Don't use getenv_IPaddr() systems without network support
Date: Wed, 23 Dec 2009 06:50:46 +0100 [thread overview]
Message-ID: <200912230650.46494.sr@denx.de> (raw)
In-Reply-To: <20091222220254.8631F3F6FF@gemini.denx.de>
Hi Wolfgang,
On Tuesday 22 December 2009 23:02:54 Wolfgang Denk wrote:
> > This patch disables the usage of getenv_IPaddr() in lib_ppc/board.c
> > on systems that don't have network support enabled.
> >
> > This fixes the following compilation problem:
> >
> > ./MAKEALL DP405
> > Configuring for DP405 board...
> > lib_ppc/libppc.a(board.o): In function `board_init_r':
> > /home/stefan/git/u-boot/u-boot/lib_ppc/board.c:858: undefined reference
> > to `getenv_IPaddr'
> >
> > Signed-off-by: Stefan Roese <sr@denx.de>
> > ---
> > lib_ppc/board.c | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
>
> Will this patch make the "bdinfo" command print a random IP address?
Maybe. Or it will be all zero's.
The first intention of this patch was to fix the recent build breakage on
those boards without networking support. I'll try to cook up a patch to remove
networking stuff from the bdinfo command soon.
Cheers,
Stefan
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de
prev parent reply other threads:[~2009-12-23 5:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-22 12:04 [U-Boot] [PATCH] ppc: Don't use getenv_IPaddr() systems without network support Stefan Roese
2009-12-22 14:54 ` Matthias Fuchs
2009-12-22 22:02 ` Wolfgang Denk
2009-12-23 5:50 ` Stefan Roese [this message]
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=200912230650.46494.sr@denx.de \
--to=sr@denx.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox