AnsweredAssumed Answered

i.MX6Q board support

Question asked by Einar Bjorgvinsson on Apr 6, 2014
Latest reply on Jun 19, 2014 by Yixing Kong

Hi there

I am trying to add a basic linux board support for our custom made board based on i.MX6Q.

I have basically copied the imx6q related files in arch/arm/mach-imx folder and only managed to get the kernel running up to the point it starts initializing the clock/timer framework.

There it stops on of_clk_init(NULL) as is defined in clk-imx6q.c.


My main question is however how should I exploit the imx6q code defined in clk-imx6q.c and other files in there ? that is how to actually call these methods since they are defined static.

I am a bit confused on how to make my approach because at the end of clk-imx6q.c there is only CLK_OF_DECLARE(imx6q, "fsl,imx6q-ccm", imx6q_clocks_init) and I am not sure how to call the imx6q_clocks_init in my board support file.

What is the right way of starting my board support ? that is, how can I exploit the imx6q code already there and should be enough for me to start with in order to have the SoC configured at least.

I'm just trying to orientate myself in this landscape.


Hope this question isn't to confusing