diff mbox

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

Message ID 1480617461-9893-6-git-send-email-breno.lima@nxp.com
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Breno Matheus Lima Dec. 1, 2016, 6:37 p.m. UTC
Add thermal support on the Kconfig file.

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

Comments

Fabio Estevam Dec. 5, 2016, 4:38 p.m. UTC | #1
On Thu, Dec 1, 2016 at 4:37 PM, Breno Lima <breno.lima@nxp.com> wrote:
> Add thermal support on the Kconfig file.
>
> Signed-off-by: Breno Lima <breno.lima@nxp.com>

Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Stefano Babic Dec. 16, 2016, 9:13 a.m. UTC | #2
On 01/12/2016 19:37, Breno Lima wrote:
> Add thermal support on the Kconfig file.
> 
> Signed-off-by: Breno Lima <breno.lima@nxp.com>
> ---
>  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
diff mbox

Patch

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 */