]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_bdinfo.c
I2C: adding new "i2c bus" Command to the I2C Subsystem.
[karo-tx-uboot.git] / common / cmd_bdinfo.c
index 24ff9b9956eff07f77b9435f263f26297f81a2ec..5018930107ed2d0f51fe346bd5259aa806f7f171 100644 (file)
@@ -117,6 +117,20 @@ int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
        }
 #endif
 
+#if defined(CONFIG_HAS_ETH4)
+       puts ("\neth4addr    =");
+       for (i=0; i<6; ++i) {
+               printf ("%c%02X", i ? ':' : ' ', bd->bi_enet4addr[i]);
+       }
+#endif
+
+#if defined(CONFIG_HAS_ETH5)
+       puts ("\neth5addr    =");
+       for (i=0; i<6; ++i) {
+               printf ("%c%02X", i ? ':' : ' ', bd->bi_enet5addr[i]);
+       }
+#endif
+
 #ifdef CONFIG_HERMES
        print_str ("ethspeed",      strmhz(buf, bd->bi_ethspeed));
 #endif
@@ -224,7 +238,7 @@ int do_bdinfo(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
        print_lnum("memsize                ", bd->bi_memsize);
        print_num("flashstart             ", bd->bi_flashstart);
        print_num("CFG_MONITOR_BASE       ", CFG_MONITOR_BASE);
-       print_num("CFG_ENV_ADDR           ", CFG_ENV_ADDR);
+       print_num("CONFIG_ENV_ADDR           ", CONFIG_ENV_ADDR);
        printf("CFG_RELOC_MONITOR_BASE = 0x%lx (%d)\n", CFG_RELOC_MONITOR_BASE,
               CFG_MONITOR_LEN);
        printf("CFG_MALLOC_BASE        = 0x%lx (%d)\n", CFG_MALLOC_BASE,