[PATCH] imx: mx6cuboxi: Disable CONFIG_IMX_THERMAL

Tom Rini trini at konsulko.com
Thu Oct 29 16:19:10 CET 2020


On Thu, Oct 29, 2020 at 07:14:55AM +0200, Baruch Siach wrote:
> Hi Simon,
> 
> Adding Walter to Cc.
> 
> On Thu, Oct 29 2020, Simon Glass wrote:
> > This feature is incompatble with of-platdata since it uses the
> > U_BOOT_DEVICE() macro. With of-platdata the only devices permitted are
> > those created by dtoc.
> >
> > Drop this option for now, until the driver can be corrected.
> 
> As I understand, of-platdata is only enabled in SPL. Is there a way to
> limit imx_thermal drop to SPL? The thermal driver in not very useful in
> SPL anyway, right?

Well, sigh, step one is to finish the migration to Kconfig for
IMX_THERMAL as it has a symbol, but it's still set in a ton of board
config files.  We only build thermal in SPL when SPL_THERMAL is set, so
I assume this is about trying to use of-platdata in U-Boot proper too,
to keep / further reduce the size of U-Boot itself to stay within size
limits.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201029/1e7307bb/attachment.sig>


More information about the U-Boot mailing list