mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] imx53: undefined reference to `imx_get_i2cclk'
@ 2012-03-26  6:06 guenter.gebhardt
  2012-03-26 17:13 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: guenter.gebhardt @ 2012-03-26  6:06 UTC (permalink / raw)
  To: barebox


[-- Attachment #1.1: Type: text/plain, Size: 593 bytes --]

Fix linker error when compiling for imx53 with I2C enabled.

Signed-off-by: Guenter Gebhardt <g.gebhardt@gg-sw-systems.de>
--
diff --git a/barebox/arch/arm/mach-imx/speed-imx53.c 
b/barebox/arch/arm/mach-imx/speed-imx53.c
index 0d6ac24..a168c65 100644
--- a/barebox/arch/arm/mach-imx/speed-imx53.c
+++ b/barebox/arch/arm/mach-imx/speed-imx53.c
@@ -169,6 +169,11 @@ unsigned long imx_get_fecclk(void)
        return imx_get_ipgclk();
 }
 
+unsigned long imx_get_i2cclk(void)
+{
+       return imx_get_ipgclk();
+}
+
 unsigned long imx_get_mmcclk(void)
 {
        u32 reg, prediv, podf, rate;
--

[-- Attachment #1.2: Type: text/html, Size: 1626 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-26 17:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-26  6:06 [PATCH] imx53: undefined reference to `imx_get_i2cclk' guenter.gebhardt
2012-03-26 17:13 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox