Message ID | 1416928268-17610-1-git-send-email-fabio.estevam@freescale.com |
---|---|
State | Awaiting Upstream |
Delegated to: | Stefano Babic |
Headers | show |
On 25/11/2014 16:11, Fabio Estevam wrote: > Add thermal support so that the temperature of the chip can be displayed on > boot: > > U-Boot 2015.01-rc1-18268-g1366c05-dirty (Nov 25 2014 - 13:02:42) > > CPU: Freescale i.MX6SX rev1.0 at 792 MHz > CPU: Temperature 50 C > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > --- > include/configs/mx6sxsabresd.h | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h > index d8ab291..5e0edab 100644 > --- a/include/configs/mx6sxsabresd.h > +++ b/include/configs/mx6sxsabresd.h > @@ -208,6 +208,16 @@ > #define CONFIG_PCIE_IMX_POWER_GPIO IMX_GPIO_NR(2, 1) > #endif > > +#define CONFIG_DM > +#define CONFIG_DM_THERMAL > +#define CONFIG_SYS_MALLOC_F_LEN (1 << 10) > +#define CONFIG_IMX6_THERMAL > + > +#define CONFIG_CMD_FUSE > +#if defined(CONFIG_CMD_FUSE) || defined(CONFIG_IMX6_THERMAL) > +#define CONFIG_MXC_OCOTP > +#endif > + > /* FLASH and environment organization */ > #define CONFIG_SYS_NO_FLASH > > Applied to u-boot-imx, thanks ! Best regards, Stefano Babic
diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h index d8ab291..5e0edab 100644 --- a/include/configs/mx6sxsabresd.h +++ b/include/configs/mx6sxsabresd.h @@ -208,6 +208,16 @@ #define CONFIG_PCIE_IMX_POWER_GPIO IMX_GPIO_NR(2, 1) #endif +#define CONFIG_DM +#define CONFIG_DM_THERMAL +#define CONFIG_SYS_MALLOC_F_LEN (1 << 10) +#define CONFIG_IMX6_THERMAL + +#define CONFIG_CMD_FUSE +#if defined(CONFIG_CMD_FUSE) || defined(CONFIG_IMX6_THERMAL) +#define CONFIG_MXC_OCOTP +#endif + /* FLASH and environment organization */ #define CONFIG_SYS_NO_FLASH
Add thermal support so that the temperature of the chip can be displayed on boot: U-Boot 2015.01-rc1-18268-g1366c05-dirty (Nov 25 2014 - 13:02:42) CPU: Freescale i.MX6SX rev1.0 at 792 MHz CPU: Temperature 50 C Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> --- include/configs/mx6sxsabresd.h | 10 ++++++++++ 1 file changed, 10 insertions(+)