From: Sandeep Paulraj Date: Tue, 28 Dec 2010 19:28:51 +0000 (-0500) Subject: DM365: Fix Build Error X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=99e4c7546357c824a7435d531ca7eb570a755376;p=u-boot.git 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 --- diff --git a/board/davinci/common/misc.c b/board/davinci/common/misc.c index 08c898fed5..2bfdf23bed 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;