summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-02-26 23:01:04 +0000
committerwdenk <wdenk>2004-02-26 23:01:04 +0000
commit0c852a2886fb51222f8fb07e6cde3b72fa4e566d (patch)
tree76e7c8a736d52540e0ec384be89693bfe330842d /drivers
parenta084f7da880504a28dc13725148464b8e556c69d (diff)
downloadu-boot-imx-0c852a2886fb51222f8fb07e6cde3b72fa4e566d.zip
u-boot-imx-0c852a2886fb51222f8fb07e6cde3b72fa4e566d.tar.gz
u-boot-imx-0c852a2886fb51222f8fb07e6cde3b72fa4e566d.tar.bz2
* Patch by Rahul Shanbhag, 19 Feb 2004:
Fixes for for OMAP1610 board: - shift some IRQ specific code to platform.S file - remove duplicatewatchdog reset code from start.S * Make Auto-MDIX Support configurable on INCA-IP board * Fix license for mkimage tool
Diffstat (limited to 'drivers')
-rw-r--r--drivers/inca-ip_sw.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/inca-ip_sw.c b/drivers/inca-ip_sw.c
index c76b344..88bc813 100644
--- a/drivers/inca-ip_sw.c
+++ b/drivers/inca-ip_sw.c
@@ -174,7 +174,9 @@ int inca_switch_initialize(bd_t * bis)
inca_init_switch_chip();
+#if defined(CONFIG_INCA_IP_SWITCH_AMDIX)
inca_amdix();
+#endif
sprintf(dev->name, "INCA-IP Switch");
dev->init = inca_switch_init;
@@ -623,6 +625,7 @@ static void inca_dma_init(void)
DMA_WRITE_REG(INCA_IP_DMA_DMA_RXISR, 0xFFFFFFFF);
}
+#if defined(CONFIG_INCA_IP_SWITCH_AMDIX)
static int inca_amdix(void)
{
u32 regValue = 0;
@@ -706,5 +709,6 @@ static int inca_amdix(void)
return 0;
}
+#endif /* CONFIG_INCA_IP_SWITCH_AMDIX */
#endif