* Temporarily disabled John Kerl's extended MII command code because
  "miivals.h" is missing

* Patches by Mark Jonas, 13 Apr 2004:
  - Remove CS0 chip select timing setting from cpu/mpc5xxx/start.S
  - Add sync instructions to IceCube SDRAM init code
  - Move SDRAM chip constants into seperate include files
  - Unify DDR and SDR initialization code
  - Unify all IceCube (Lite5xxx) target names
diff --git a/common/cmd_mii.c b/common/cmd_mii.c
index 4a84829..4539dc5 100644
--- a/common/cmd_mii.c
+++ b/common/cmd_mii.c
@@ -27,10 +27,11 @@
 
 #include <common.h>
 #include <command.h>
-#include <miiphy.h>
-#include <miivals.h>
 
 #if (CONFIG_COMMANDS & CFG_CMD_MII)
+#include <miiphy.h>
+
+#define	CONFIG_TERSE_MII	/* XXX necessary here because "miivals.h" is missing */
 
 #ifdef CONFIG_TERSE_MII
 /*
@@ -145,7 +146,10 @@
 	"mii read  <addr> <reg>        - read  MII PHY <addr> register <reg>\n"
 	"mii write <addr> <reg> <data> - write MII PHY <addr> register <reg>\n"
 );
-#else /* CONFIG_TERSE_MII */
+
+#else /* ! CONFIG_TERSE_MII ================================================= */
+
+#include <miivals.h>
 
 typedef struct _MII_reg_desc_t {
 	ushort regno;