Patchwork [U-Boot] DM365: Fix Build Error

login
register
mail settings
Submitter Sandeep Paulraj
Date Dec. 28, 2010, 7:29 p.m.
Message ID <1293564590-27039-1-git-send-email-s-paulraj@ti.com>
Download mbox | patch
Permalink /patch/76857/
State Accepted
Commit 99e4c7546357c824a7435d531ca7eb570a755376
Delegated to: Sandeep Paulraj
Headers show

Comments

Sandeep Paulraj - Dec. 28, 2010, 7:29 p.m.
From: Sandeep Paulraj <s-paulraj@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@ti.com>
---
 board/davinci/common/misc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

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;