From e35745bb64fae64da3e1fa7f4afe3213287f5908 Mon Sep 17 00:00:00 2001 From: wdenk Date: Sun, 18 Apr 2004 23:32:11 +0000 Subject: * 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 --- common/cmd_mii.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'common/cmd_mii.c') diff --git a/common/cmd_mii.c b/common/cmd_mii.c index 4a8482977..4539dc54c 100644 --- a/common/cmd_mii.c +++ b/common/cmd_mii.c @@ -27,10 +27,11 @@ #include #include -#include -#include #if (CONFIG_COMMANDS & CFG_CMD_MII) +#include + +#define CONFIG_TERSE_MII /* XXX necessary here because "miivals.h" is missing */ #ifdef CONFIG_TERSE_MII /* @@ -145,7 +146,10 @@ U_BOOT_CMD( "mii read - read MII PHY register \n" "mii write - write MII PHY register \n" ); -#else /* CONFIG_TERSE_MII */ + +#else /* ! CONFIG_TERSE_MII ================================================= */ + +#include typedef struct _MII_reg_desc_t { ushort regno; -- cgit v1.2.3