Hi Ahmad.

On Tue, Feb 19, 2019 at 08:52:39AM +0100, Ahmad Fatoum wrote:
> As the sama5d3 based microchip-ksz9477-evb board still uses the old
> bindings, the dt-compat.c code is ported as well. This can be removed
> when all in-kernel at91 boards have been ported to the new bindings.

Thanks.
I see we need this for now.
I hope someone we get around and add support for new clock bindings to sama5d3 
soon.

> 
> Signed-off-by: Ahmad Fatoum <a.fat...@pengutronix.de>
> ---
>  drivers/clk/at91/Makefile    |   2 +-
>  drivers/clk/at91/dt-compat.c | 961 +++++++++++++++++++++++++++++++++++
>  2 files changed, 962 insertions(+), 1 deletion(-)
>  create mode 100644 drivers/clk/at91/dt-compat.c
> 
> diff --git a/drivers/clk/at91/Makefile b/drivers/clk/at91/Makefile
> index ec41c15fa5f4..f8935129101c 100644
> --- a/drivers/clk/at91/Makefile
> +++ b/drivers/clk/at91/Makefile
> @@ -2,7 +2,7 @@
>  # Makefile for at91 specific clk
>  #
>  
> -obj-y += pmc.o sckc.o
> +obj-y += pmc.o sckc.o dt-compat.o
To avoid increasing the image size further we could introduce a SOC_SAMA5D3
and let this .o file depends on this.
?

I can fix it while applying if you agree.

        Sam

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

Reply via email to