diff options
author | Bartlomiej Sieka <tur@semihalf.com> | 2007-01-23 14:11:22 +0100 |
---|---|---|
committer | Bartlomiej Sieka <tur@semihalf.com> | 2007-01-23 14:11:22 +0100 |
commit | 0ed47bb119cd2c4c16edb2548789148f9e6dc9de (patch) | |
tree | e29e557e984cc24a3afd74f4e25153fa3aab3382 /include | |
parent | 363d1d8f9c99b63daef81f5985cab3fc00edde5c (diff) | |
download | u-boot-imx-0ed47bb119cd2c4c16edb2548789148f9e6dc9de.zip u-boot-imx-0ed47bb119cd2c4c16edb2548789148f9e6dc9de.tar.gz u-boot-imx-0ed47bb119cd2c4c16edb2548789148f9e6dc9de.tar.bz2 |
[iDMR] Using MII-related commands on iDRM board doesn't work now (e.g.,
"mii device" results in "Unexpected exception"). Fixing this properly
requires some clean-up in the FEC drivers infrastructure for ColdFire, so
this commit disables MII commads for now.
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/idmr.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/configs/idmr.h b/include/configs/idmr.h index 48915b3..8143f0d 100644 --- a/include/configs/idmr.h +++ b/include/configs/idmr.h @@ -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)) @@ -194,4 +193,9 @@ /* 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 */ |