]> git.sur5r.net Git - u-boot/blobdiff - include/configs/idmr.h
[iDMR] Using MII-related commands on iDRM board doesn't work now (e.g.,
[u-boot] / include / configs / idmr.h
index 48915b32e3636fbe1889ef9d73edcc113e9fce5a..8143f0d3febf5d68a1053f1dba4ce2e98556516b 100644 (file)
@@ -83,8 +83,7 @@
  */
 #define CONFIG_COMMANDS                ((CONFIG_CMD_DFL                | \
                                        CFG_CMD_PING            | \
-                                       CFG_CMD_NET             | \
-                                       CFG_CMD_MII)            & \
+                                       CFG_CMD_NET)            & \
                                        ~(CFG_CMD_LOADS         | \
                                                CFG_CMD_LOADB))
 
 
 /* Port configuration */
 #define CFG_FECI2C             0xF0
+
+#if (CONFIG_COMMANDS & CFG_CMD_MII)
+#error MII commands don't work on iDMR board and sholud not be enabled.
+#endif /* (CONFIG_COMMANDS & CFG_CMD_MII) */
+
 #endif /* _IDMR_H */