From: "Eric Bénard" <eric@eukrea.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/3] mx25: fix compilation when CONFIG_FSL_ESDHC is enabled
Date: Sat, 22 Sep 2012 22:50:38 +0200 [thread overview]
Message-ID: <1348347039-26521-2-git-send-email-eric@eukrea.com> (raw)
In-Reply-To: <1348347039-26521-1-git-send-email-eric@eukrea.com>
else we get :
generic.c: In function 'get_clocks':
generic.c:210: error: 'MXC_ESDHC_CLK' undeclared (first use in this function)
please note this fix is a hack similar to the one used in
arch/arm/cpu/arm1136/mx35/generic.c
and will pevent the usage of eSDHC2 (as done on i/MX35).
Signed-off-by: Eric B?nard <eric@eukrea.com>
---
arch/arm/cpu/arm926ejs/mx25/generic.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/cpu/arm926ejs/mx25/generic.c b/arch/arm/cpu/arm926ejs/mx25/generic.c
index cb74b82..6a3a8b3 100644
--- a/arch/arm/cpu/arm926ejs/mx25/generic.c
+++ b/arch/arm/cpu/arm926ejs/mx25/generic.c
@@ -207,7 +207,7 @@ int cpu_eth_init(bd_t *bis)
int get_clocks(void)
{
#ifdef CONFIG_FSL_ESDHC
- gd->sdhc_clk = mxc_get_clock(MXC_ESDHC_CLK);
+ gd->sdhc_clk = mxc_get_clock(MXC_ESDHC1_CLK);
#endif
return 0;
}
--
1.7.7.6
next prev parent reply other threads:[~2012-09-22 20:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-22 20:50 [U-Boot] [PATCH 1/3] mx25: add CPU revision 1.2 Eric Bénard
2012-09-22 20:50 ` Eric Bénard [this message]
2012-09-22 21:14 ` [U-Boot] [PATCH 2/3] mx25: fix compilation when CONFIG_FSL_ESDHC is enabled Otavio Salvador
2012-09-22 21:24 ` Benoît Thébaudeau
2012-09-22 20:50 ` [U-Boot] [PATCH 3/3] add Eukrea's CPUIMX25 Eric Bénard
2012-09-22 21:18 ` Otavio Salvador
2012-09-22 21:52 ` Eric Bénard
2012-09-22 22:04 ` Eric Bénard
2012-09-22 21:12 ` [U-Boot] [PATCH 1/3] mx25: add CPU revision 1.2 Otavio Salvador
2012-09-23 15:59 ` Stefano Babic
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=1348347039-26521-2-git-send-email-eric@eukrea.com \
--to=eric@eukrea.com \
--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