]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_bdinfo.c
mpc85xx: Setup QE pinmux for SPI Flash on MPC8569E-MDS boards
[karo-tx-uboot.git] / common / cmd_bdinfo.c
index 700314be60844eb956337f77e2b3b91cb680e644..11c154731e3cc21d226657e1c3adb89bc9469c1b 100644 (file)
@@ -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);
+#endif
 
 #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);
 }
+#endif
 
 #ifndef CONFIG_ARM
 static void print_lnum(const char *name, u64 value)
@@ -380,5 +384,5 @@ static void print_str(const char *name, const char *str)
 U_BOOT_CMD(
        bdinfo, 1,      1,      do_bdinfo,
        "print Board Info structure",
-       NULL
+       ""
 );