summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandeep Paulraj <s-paulraj@ti.com>2010-12-28 14:28:51 -0500
committerAlbert Aribaud <albert.aribaud@free.fr>2011-02-02 00:54:44 +0100
commit99e4c7546357c824a7435d531ca7eb570a755376 (patch)
tree6cccc79d94b564346961f7a5eeb633f3a8350aeb
parente3e4e2f4146c10d6ef340c3a67e540ef00a6474e (diff)
downloadu-boot-imx-99e4c7546357c824a7435d531ca7eb570a755376.zip
u-boot-imx-99e4c7546357c824a7435d531ca7eb570a755376.tar.gz
u-boot-imx-99e4c7546357c824a7435d531ca7eb570a755376.tar.bz2
DM365: Fix Build Error
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@ti.com>
-rw-r--r--board/davinci/common/misc.c2
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;