[U-Boot] [PATCH] DM365: Fix Build Error
s-paulraj at ti.com
s-paulraj at ti.com
Tue Dec 28 20:29:50 CET 2010
From: Sandeep Paulraj <s-paulraj at ti.com>
After the merger of the next branch, the DM365 was
broken. A function used only by DA8xx based SOCs was
being incorrectly called. So fix it.
Signed-off-by: Sandeep Paulraj <s-paulraj at ti.com>
---
board/davinci/common/misc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/board/davinci/common/misc.c b/board/davinci/common/misc.c
index 08c898f..2bfdf23 100644
--- a/board/davinci/common/misc.c
+++ b/board/davinci/common/misc.c
@@ -80,7 +80,7 @@ err:
/*
* Set the mii mode as MII or RMII
*/
-#if defined(CONFIG_DRIVER_TI_EMAC)
+#if defined(CONFIG_SOC_DA8XX)
void davinci_emac_mii_mode_sel(int mode_sel)
{
int val;
--
1.6.0.4
More information about the U-Boot
mailing list