Re: [RESEND PATCH] clk: stm32: fix: stm32 clock drivers are not compiled by default

From: Stephen Boyd
Date: Wed May 16 2018 - 03:25:11 EST


Quoting Alexandre Torgue (2018-05-16 00:34:21)
> >>
> >> Sorry I don't understand. Clock driver is mandatory to boot each
> >> platform and depends on machine type. Do you see a use case where we
> >> could need to disable the clock driver? (it would impose to change
> >> devicetree to use fixed clocks and to have a booloader which configures
> >> all PLL and clocks).
> >
> > No. My understanding of the patch that introduced the options was to
> > allow the user to disable these drivers if they wanted to. I'm just
> > reiterating the spirit of that patch. That must be wrong?
> >
> Actually initial patch is a mistake. You can't boot STM32 platform
> without clock driver. This patch fixes that, and offers the possibility
> to not build the clock driver of the machine which are not used
> (currently all machine are selected but to reduce memory footprint you
> could disable not used machine in defconfig).

Ok I stuck the patch into clk-fixes. Will send off to Linus tomorrow or the
next day.