summaryrefslogtreecommitdiff
path: root/cpu/arm920t/at91rm9200/ether.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-09 18:57:22 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-09 18:57:22 -0500
commit3a1ed1e1f922c419bb71f7df4949d783ade369fa (patch)
treee68b709ff9821c944283fb09e22ea5c34f12364c /cpu/arm920t/at91rm9200/ether.c
parentab3abcbabd840928fb1eb5122118ca466b5e5013 (diff)
downloadu-boot-imx-3a1ed1e1f922c419bb71f7df4949d783ade369fa.zip
u-boot-imx-3a1ed1e1f922c419bb71f7df4949d783ade369fa.tar.gz
u-boot-imx-3a1ed1e1f922c419bb71f7df4949d783ade369fa.tar.bz2
cpu/[7a-ln-z]*: Remove obsolete references to CONFIG_COMMANDS
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'cpu/arm920t/at91rm9200/ether.c')
-rw-r--r--cpu/arm920t/at91rm9200/ether.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpu/arm920t/at91rm9200/ether.c b/cpu/arm920t/at91rm9200/ether.c
index f0ec831..c8f56aa 100644
--- a/cpu/arm920t/at91rm9200/ether.c
+++ b/cpu/arm920t/at91rm9200/ether.c
@@ -50,7 +50,7 @@ typedef struct {
#ifdef CONFIG_DRIVER_ETHER
-#if (CONFIG_COMMANDS & CFG_CMD_NET) || defined(CONFIG_CMD_NET)
+#if defined(CONFIG_CMD_NET)
/* alignment as per Errata #11 (64 bytes) is insufficient! */
rbf_t rbfdt[RBF_FRAMEMAX] __attribute((aligned(512)));
@@ -265,7 +265,7 @@ void eth_halt (void)
{
};
-#if defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII) || defined(CONFIG_CMD_MII)
+#if defined(CONFIG_MII) || defined(CONFIG_CMD_MII)
int at91rm9200_miiphy_read(char *devname, unsigned char addr,
unsigned char reg, unsigned short * value)
{
@@ -284,16 +284,16 @@ int at91rm9200_miiphy_write(char *devname, unsigned char addr,
return 0;
}
-#endif /* defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII) */
+#endif
int at91rm9200_miiphy_initialize(bd_t *bis)
{
-#if defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII) || defined(CONFIG_CMD_MII)
+#if defined(CONFIG_MII) || defined(CONFIG_CMD_MII)
miiphy_register("at91rm9200phy", at91rm9200_miiphy_read, at91rm9200_miiphy_write);
#endif
return 0;
}
-#endif /* CONFIG_COMMANDS & CFG_CMD_NET */
+#endif
#endif /* CONFIG_DRIVER_ETHER */