Commit 26e42cbd authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

ARM: fix warning: 'print_eth' defined but not used

This warning got issued for all ARM systems that don't have

Signed-off-by: default avatarWolfgang Denk <>
parent fd88d91a
......@@ -31,7 +31,9 @@ DECLARE_GLOBAL_DATA_PTR;
static void print_num(const char *, ulong);
#if !defined(CONFIG_ARM) || defined(CONFIG_CMD_NET)
static void print_eth(int idx);
#ifndef CONFIG_ARM /* PowerPC and other */
static void print_lnum(const char *, u64);
......@@ -347,6 +349,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)
static void print_eth(int idx)
char name[10], *val;
......@@ -359,6 +362,7 @@ static void print_eth(int idx)
val = "(not set)";
printf("%-12s= %s\n", name, val);
#ifndef CONFIG_ARM
static void print_lnum(const char *name, u64 value)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment