Message ID | 1480617461-9893-6-git-send-email-breno.lima@nxp.com |
---|---|
State | Awaiting Upstream |
Delegated to: | Stefano Babic |
Headers | show |
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>
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 --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 */
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(+)