From: Albert ARIBAUD <albert.aribaud@free.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/1] DaVinci: Fix DM365 & DM644X build error
Date: Thu, 20 Jan 2011 23:02:33 +0100 [thread overview]
Message-ID: <4D38B0F9.90806@free.fr> (raw)
In-Reply-To: <1295522848-1490-1-git-send-email-afzal@ti.com>
Le 20/01/2011 12:27, Mohammed Afzal a ?crit :
> DM365& DM644X builds 'davinci_emac_mii_mode_sel()',
> which uses 'davinci_syscfg_regs' macro, and the
> macro is valid iff CONFIG_SOC_DA8XX is defined.
>
> Fix: Before compiling 'davinci_emac_mii_mode_sel()', make sure that
> CONFIG_SOC_DA8XX is defined.
>
> Signed-off-by: Mohammed Afzal<afzal@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..c0a6c41 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_DRIVER_TI_EMAC)&& defined(CONFIG_SOC_DA8XX)
> void davinci_emac_mii_mode_sel(int mode_sel)
> {
> int val;
Seems this is already fixed by commit
51861a953aa10fde5c861ca022f0833f326e3041 which is in u-boot-ti/master,
right?
Amicalement,
--
Albert.
next prev parent reply other threads:[~2011-01-20 22:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-20 11:27 [U-Boot] [PATCH 1/1] DaVinci: Fix DM365 & DM644X build error Mohammed Afzal
2011-01-20 22:02 ` Albert ARIBAUD [this message]
2011-01-20 23:57 ` Paulraj, Sandeep
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D38B0F9.90806@free.fr \
--to=albert.aribaud@free.fr \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox