Re: [U-Boot] [PATCH 6/6] udoo_neo: Add thermal support

2016-12-16 Thread Stefano Babic
On 01/12/2016 19:37, Breno Lima wrote:
> Add thermal support on the Kconfig file.
> 
> Signed-off-by: Breno Lima 
> ---
>  arch/arm/cpu/armv7/mx6/Kconfig | 2 ++
>  include/configs/udoo_neo.h | 2 ++
>  2 files changed, 4 insertions(+)
> 
> diff --git a/arch/arm/cpu/armv7/mx6/Kconfig b/arch/arm/cpu/armv7/mx6/Kconfig
> index 091b522..aa4a476 100644
> --- a/arch/arm/cpu/armv7/mx6/Kconfig
> +++ b/arch/arm/cpu/armv7/mx6/Kconfig
> @@ -204,6 +204,8 @@ config TARGET_UDOO_NEO
>   bool "UDOO Neo"
>   select SUPPORT_SPL
>   select MX6SX
> + select DM
> + select DM_THERMAL
>  
>  config TARGET_WANDBOARD
>   bool "wandboard"
> diff --git a/include/configs/udoo_neo.h b/include/configs/udoo_neo.h
> index 1b7a03f..0357631 100644
> --- a/include/configs/udoo_neo.h
> +++ b/include/configs/udoo_neo.h
> @@ -88,4 +88,6 @@
>  #define CONFIG_ENV_SIZE  SZ_8K
>  #define CONFIG_ENV_IS_IN_MMC
>  
> +#define CONFIG_IMX_THERMAL
> +
>  #endif   /* __CONFIG_H */
> 
Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic


-- 
=
DENX Software Engineering GmbH,  Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de
=
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 6/6] udoo_neo: Add thermal support

2016-12-05 Thread Fabio Estevam
On Thu, Dec 1, 2016 at 4:37 PM, Breno Lima  wrote:
> Add thermal support on the Kconfig file.
>
> Signed-off-by: Breno Lima 

Reviewed-by: Fabio Estevam 
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 6/6] udoo_neo: Add thermal support

2016-12-01 Thread Breno Lima
Add thermal support on the Kconfig file.

Signed-off-by: Breno Lima 
---
 arch/arm/cpu/armv7/mx6/Kconfig | 2 ++
 include/configs/udoo_neo.h | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/arch/arm/cpu/armv7/mx6/Kconfig b/arch/arm/cpu/armv7/mx6/Kconfig
index 091b522..aa4a476 100644
--- a/arch/arm/cpu/armv7/mx6/Kconfig
+++ b/arch/arm/cpu/armv7/mx6/Kconfig
@@ -204,6 +204,8 @@ config TARGET_UDOO_NEO
bool "UDOO Neo"
select SUPPORT_SPL
select MX6SX
+   select DM
+   select DM_THERMAL
 
 config TARGET_WANDBOARD
bool "wandboard"
diff --git a/include/configs/udoo_neo.h b/include/configs/udoo_neo.h
index 1b7a03f..0357631 100644
--- a/include/configs/udoo_neo.h
+++ b/include/configs/udoo_neo.h
@@ -88,4 +88,6 @@
 #define CONFIG_ENV_SIZESZ_8K
 #define CONFIG_ENV_IS_IN_MMC
 
+#define CONFIG_IMX_THERMAL
+
 #endif /* __CONFIG_H */
-- 
2.7.4

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot