[U-Boot] [PATCH] ot1200: enable CONFIG_IMX_THERMAL for detailed	thermal information
    Christian Gmeiner 
    christian.gmeiner at gmail.com
       
    Mon Jun 26 07:14:27 UTC 2017
    
    
  
2017-06-08 9:37 GMT+02:00 Christian Gmeiner <christian.gmeiner at gmail.com>:
> Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
> ---
>  configs/ot1200_defconfig     | 2 ++
>  configs/ot1200_spl_defconfig | 2 ++
>  include/configs/ot1200.h     | 3 +++
>  3 files changed, 7 insertions(+)
>
> diff --git a/configs/ot1200_defconfig b/configs/ot1200_defconfig
> index d6271b8..7f1d7a8 100644
> --- a/configs/ot1200_defconfig
> +++ b/configs/ot1200_defconfig
> @@ -28,6 +28,8 @@ CONFIG_SPI_FLASH_MACRONIX=y
>  CONFIG_SPI_FLASH_STMICRO=y
>  CONFIG_SPI_FLASH_SST=y
>  CONFIG_SPI_FLASH_WINBOND=y
> +CONFIG_DM=y
> +CONFIG_DM_THERMAL=y
>  CONFIG_USB=y
>  CONFIG_USB_STORAGE=y
>  CONFIG_OF_LIBFDT=y
> diff --git a/configs/ot1200_spl_defconfig b/configs/ot1200_spl_defconfig
> index b64ded2..1e3b0f7 100644
> --- a/configs/ot1200_spl_defconfig
> +++ b/configs/ot1200_spl_defconfig
> @@ -36,6 +36,8 @@ CONFIG_SPI_FLASH_MACRONIX=y
>  CONFIG_SPI_FLASH_STMICRO=y
>  CONFIG_SPI_FLASH_SST=y
>  CONFIG_SPI_FLASH_WINBOND=y
> +CONFIG_DM=y
> +CONFIG_DM_THERMAL=y
>  CONFIG_USB=y
>  CONFIG_USB_STORAGE=y
>  CONFIG_OF_LIBFDT=y
> diff --git a/include/configs/ot1200.h b/include/configs/ot1200.h
> index 0582fa3..97d98fa 100644
> --- a/include/configs/ot1200.h
> +++ b/include/configs/ot1200.h
> @@ -99,6 +99,9 @@
>
>  #define CONFIG_PREBOOT                 ""
>
> +/* Thermal support */
> +#define CONFIG_IMX_THERMAL
> +
>  /* Print Buffer Size */
>  #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
>
> --
> 2.9.4
>
gentle ping
greets
--
Christian Gmeiner, MSc
https://www.youtube.com/user/AloryOFFICIAL
https://soundcloud.com/christian-gmeiner
    
    
More information about the U-Boot
mailing list