Patchwork [U-Boot,7/7,v5] EXYNOS5: Config: Enable dtt command for TMU

login
register
mail settings
Submitter Akshay Saraswat
Date Jan. 21, 2013, 11:11 a.m.
Message ID <1358766705-2118-8-git-send-email-akshay.s@samsung.com>
Download mbox | patch
Permalink /patch/214121/
State Changes Requested
Delegated to: Minkyu Kang
Headers show

Comments

Akshay Saraswat - Jan. 21, 2013, 11:11 a.m.
This enables the dtt command to read the current SOC
temperature with the help of TMU

Signed-off-by: Akshay Saraswat <akshay.s@samsung.com>
---
Changes since v4:
	- Replaced tmu command configs with corresponding dtt configs. 

 include/configs/exynos5250-dt.h |    2 ++
 1 file changed, 2 insertions(+)
Simon Glass - Jan. 22, 2013, 8:51 p.m.
On Mon, Jan 21, 2013 at 3:11 AM, Akshay Saraswat <akshay.s@samsung.com> wrote:
> This enables the dtt command to read the current SOC
> temperature with the help of TMU
>
> Signed-off-by: Akshay Saraswat <akshay.s@samsung.com>

Acked-by: Simon Glass <sjg@chromium.org>

> ---
> Changes since v4:
>         - Replaced tmu command configs with corresponding dtt configs.
>
>  include/configs/exynos5250-dt.h |    2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h
> index 53ca41f..8a8e9fe 100644
> --- a/include/configs/exynos5250-dt.h
> +++ b/include/configs/exynos5250-dt.h
> @@ -119,6 +119,8 @@
>
>  /* Thermal Management Unit */
>  #define CONFIG_EXYNOS_TMU
> +#define CONFIG_CMD_DTT
> +#define CONFIG_TMU_CMD_DTT
>
>  /* USB */
>  #define CONFIG_CMD_USB
> --
> 1.7.9.5
>

Patch

diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h
index 53ca41f..8a8e9fe 100644
--- a/include/configs/exynos5250-dt.h
+++ b/include/configs/exynos5250-dt.h
@@ -119,6 +119,8 @@ 
 
 /* Thermal Management Unit */
 #define CONFIG_EXYNOS_TMU
+#define CONFIG_CMD_DTT
+#define CONFIG_TMU_CMD_DTT
 
 /* USB */
 #define CONFIG_CMD_USB