From: Wolfgang Denk Date: Tue, 22 Dec 2009 23:02:54 +0100 Subject: [U-Boot] [PATCH] ppc: Don't use getenv_IPaddr() systems without network support In-Reply-To: <1261483470-29255-1-git-send-email-sr@denx.de> References: <1261483470-29255-1-git-send-email-sr@denx.de> Message-ID: <20091222220254.8631F3F6FF@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Stefan Roese, In message <1261483470-29255-1-git-send-email-sr@denx.de> you 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 > --- > lib_ppc/board.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Will this patch make the "bdinfo" command print a random IP address? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de You see things; and you say ``Why?'' But I dream things that never were; and I say ``Why not?'' - George Bernard Shaw _Back to Methuselah_ (1921) pt. 1, act 1