
29 Apr
2012
29 Apr
'12
6:26 p.m.
Dirk,
On Sun, Apr 29, 2012 at 11:54 AM, Fabio Estevam festevam@gmail.com wrote:
Thanks for testing it. I found one mistake and will submit a fix shortly.
Here is one issue I found:
--- a/arch/arm/cpu/armv7/imx-common/cpu.c +++ b/arch/arm/cpu/armv7/imx-common/cpu.c @@ -147,6 +147,4 @@ u32 get_ahb_clk(void) ahb_podf = reg >> MXC_CCM_CBCDR_AHB_PODF_OFFSET;
return get_periph_clk() / (ahb_podf + 1); - - return 0; }
This should be fixed, but it seems it does not explain the problem you are seeing. We need to check whether get_ahb_clk() is using the weak definition of get_periph_clk() instead the one from clock.c.
Regards,
Fabio Estevam