]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
DM365: Fix Build Error
authorSandeep Paulraj <s-paulraj@ti.com>
Tue, 28 Dec 2010 19:28:51 +0000 (14:28 -0500)
committerAlbert Aribaud <albert.aribaud@free.fr>
Tue, 1 Feb 2011 23:54:44 +0000 (00:54 +0100)
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

index 08c898fed51acc0f5bb6e16b686ab1ca98b20cc6..2bfdf23bed1276d99280de73c926c7778c1cea03 100644 (file)
@@ -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;