[PATCH] imx: mx6cuboxi: Disable CONFIG_IMX_THERMAL

Baruch Siach baruch at tkos.co.il
Thu Oct 29 06:14:55 CET 2020


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?

Thanks,
baruch

> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  include/configs/mx6cuboxi.h | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/include/configs/mx6cuboxi.h b/include/configs/mx6cuboxi.h
> index cfab9a7fc02..55717c77ab3 100644
> --- a/include/configs/mx6cuboxi.h
> +++ b/include/configs/mx6cuboxi.h
> @@ -13,8 +13,6 @@
>  
>  #include "imx6_spl.h"
>  
> -#define CONFIG_IMX_THERMAL
> -
>  #define CONFIG_SYS_MALLOC_LEN		(10 * SZ_1M)
>  
>  /* MMC Configs */

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -


More information about the U-Boot mailing list