summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/configs/idmr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/idmr.h b/include/configs/idmr.h
index 3ec4a7944..404e88a4f 100644
--- a/include/configs/idmr.h
+++ b/include/configs/idmr.h
@@ -235,8 +235,8 @@
"2m(rootfs)," \
"-(user)";
-#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) */
+#if defined(CONFIG_CMD_MII)
+#error "MII commands don't work on iDMR board and should not be enabled."
+#endif
#endif /* _IDMR_H */