X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=common%2Fcmd_mii.c;h=72e11d54425097d4eec8e790597803a3aa42be8c;hb=9c73f4b81172bc9f1b8f132450e69bcfb5b960ca;hp=e6595360cbeca81a3fe144ee18ad7ae0e8d6bb0e;hpb=4b7576fb804f9aae275a9ad5d947d2eb727d8cb7;p=oweals%2Fu-boot.git diff --git a/common/cmd_mii.c b/common/cmd_mii.c index e6595360cb..72e11d5442 100644 --- a/common/cmd_mii.c +++ b/common/cmd_mii.c @@ -28,7 +28,7 @@ #include #include -#if (CONFIG_COMMANDS & CFG_CMD_MII) +#if defined(CONFIG_CMD_MII) #include #ifdef CONFIG_TERSE_MII @@ -438,7 +438,7 @@ int do_mii (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) int rcode = 0; char *devname; -#ifdef CONFIG_8xx +#if defined(CONFIG_8xx) || defined(CONFIG_MCF532x) mii_init (); #endif @@ -595,4 +595,4 @@ U_BOOT_CMD( #endif /* CONFIG_TERSE_MII */ -#endif /* CFG_CMD_MII */ +#endif