From 6a45e384955262882375a2785426dc65aeb636c4 Mon Sep 17 00:00:00 2001 From: Dirk Behme Date: Sun, 3 Jan 2010 08:33:58 +0100 Subject: Make getenv_IPaddr() global There are boards out there that do not have network support in U-Boot (CONFIG_CMD_NET not set), but they do so in Linux. This makes it desirable to be able to port network configuration (like the IP address) to the Linux kernel. We should not make the passing of the IP configuration to Linux dependent on U-Boot features / settings. For this, make getenv_IPaddr() global. This fixes build error u-boot/lib_xxx/board.c:360: undefined reference to `getenv_IPaddr' on various architectures. Signed-off-by: Dirk Behme Acked-by: Ben Warren --- include/net.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/net.h') diff --git a/include/net.h b/include/net.h index 1c8ab12..3f6a5d1 100644 --- a/include/net.h +++ b/include/net.h @@ -508,9 +508,6 @@ extern void VLAN_to_string (ushort x, char *s); /* Convert a string to a vlan id */ extern ushort string_to_VLAN(char *s); -/* read an IP address from a environment variable */ -extern IPaddr_t getenv_IPaddr (char *); - /* read a VLAN id from an environment variable */ extern ushort getenv_VLAN(char *); -- cgit v1.1