summaryrefslogtreecommitdiff
path: root/common/cmd_bdinfo.c
diff options
context:
space:
mode:
authorPhilippe De Muyter <phdm at macqel.be>2009-09-21 22:20:29 -0600
committerTsiChung Liew <tsicliew@gmail.com>2010-03-24 11:08:53 -0500
commit116095eb1f0f7017ea8062aa8a8ba8ceecb430b5 (patch)
tree46fb72c409f517eb67732f49141938852969b16e /common/cmd_bdinfo.c
parentdfc2b7697dc07862da804c1be084f96301884bc7 (diff)
downloadu-boot-imx-116095eb1f0f7017ea8062aa8a8ba8ceecb430b5.zip
u-boot-imx-116095eb1f0f7017ea8062aa8a8ba8ceecb430b5.tar.gz
u-boot-imx-116095eb1f0f7017ea8062aa8a8ba8ceecb430b5.tar.bz2
fix cmd_bdinfo.c:354: warning: 'print_eth' defined but not used
This fixes the following warnings when running MAKEALL for coldfire : cmd_bdinfo.c:354: warning: 'print_eth' defined but not used Signed-off-by: Philippe De Muyter <phdm at macqel.be>
Diffstat (limited to 'common/cmd_bdinfo.c')
-rw-r--r--common/cmd_bdinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c
index f8400bc..d22eb66 100644
--- a/common/cmd_bdinfo.c
+++ b/common/cmd_bdinfo.c
@@ -31,7 +31,7 @@ DECLARE_GLOBAL_DATA_PTR;
static void print_num(const char *, ulong);
-#if !defined(CONFIG_ARM) || defined(CONFIG_CMD_NET)
+#if !(defined(CONFIG_ARM) || defined(CONFIG_M68K)) || defined(CONFIG_CMD_NET)
static void print_eth(int idx);
#endif
@@ -350,7 +350,7 @@ static void print_num(const char *name, ulong value)
printf ("%-12s= 0x%08lX\n", name, value);
}
-#if !defined(CONFIG_ARM) || defined(CONFIG_CMD_NET)
+#if !(defined(CONFIG_ARM) || defined(CONFIG_M68K)) || defined(CONFIG_CMD_NET)
static void print_eth(int idx)
{
char name[10], *val;