<font size=2 face="sans-serif">Hello,</font>
<br>
<br><font size=2 face="sans-serif">when compiling for a imx53 with i2c
enabled i got the following error:</font>
<br>
<br><font size=2 face="sans-serif">drivers/built-in.o: In function `i2c_imx_set_clk':</font>
<br><font size=2 face="sans-serif">/home/ggebhardt/repos/ecuv6_bl/barebox/drivers/i2c/busses/i2c-imx.c:282:
undefined reference to `imx_get_i2cclk'</font>
<br><font size=2 face="sans-serif">make[4]: *** [.tmp_barebox1] Error 1</font>
<br><font size=2 face="sans-serif">make[3]: *** [CMakeFiles/bootloader]
Error 2</font>
<br><font size=2 face="sans-serif">make[2]: *** [CMakeFiles/bootloader.dir/all]
Error 2</font>
<br><font size=2 face="sans-serif">make[1]: *** [CMakeFiles/bootloader.dir/rule]
Error 2</font>
<br><font size=2 face="sans-serif">make: *** [bootloader] Error 2</font>
<br>
<br><font size=2 face="sans-serif">I copied the following from the corresponding
imx51 implementation:</font>
<br>
<br><font size=2 face="sans-serif">diff --git a/barebox/arch/arm/mach-imx/speed-imx53.c
b/barebox/arch/arm/mach-imx/speed-imx53.c</font>
<br><font size=2 face="sans-serif">index 0d6ac24..a168c65 100644</font>
<br><font size=2 face="sans-serif">--- a/barebox/arch/arm/mach-imx/speed-imx53.c</font>
<br><font size=2 face="sans-serif">+++ b/barebox/arch/arm/mach-imx/speed-imx53.c</font>
<br><font size=2 face="sans-serif">@@ -169,6 +169,11 @@ unsigned long imx_get_fecclk(void)</font>
<br><font size=2 face="sans-serif">        return imx_get_ipgclk();</font>
<br><font size=2 face="sans-serif"> }</font>
<br><font size=2 face="sans-serif"> </font>
<br><font size=2 face="sans-serif">+unsigned long imx_get_i2cclk(void)</font>
<br><font size=2 face="sans-serif">+{</font>
<br><font size=2 face="sans-serif">+       return imx_get_ipgclk();</font>
<br><font size=2 face="sans-serif">+}</font>
<br><font size=2 face="sans-serif">+</font>
<br><font size=2 face="sans-serif"> unsigned long imx_get_mmcclk(void)</font>
<br><font size=2 face="sans-serif"> {</font>
<br><font size=2 face="sans-serif">        u32 reg,
prediv, podf, rate;</font>