Skip to contentSkip to conversation

tbs2910: add thermal support

PATCH New Soeren Moch 2 participants 4 messages May 29, 2015 – Jun 9, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 tbs2910: add thermal support

---
Cc: Stefano Babic <[email protected]>

---
 configs/tbs2910_defconfig | 2 ++
 include/configs/tbs2910.h | 2 ++
 2 files changed, 4 insertions(+)
configs/tbs2910_defconfig +2 -0
index cace345..51319d1 100644
@@ -1,3 +1,5 @@
 CONFIG_ARM=y
 CONFIG_TARGET_TBS2910=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6q2g.cfg,MX6Q"
+CONFIG_DM=y
+CONFIG_DM_THERMAL=y
include/configs/tbs2910.h +2 -0
index 13a6e06..2d0de45 100644
@@ -21,6 +21,8 @@
 #define CONFIG_SYS_PROMPT		"Matrix U-Boot> "
 #define CONFIG_SYS_HZ			1000
 
+#define CONFIG_IMX6_THERMAL
+
 /* Physical Memory Map */
 #define CONFIG_NR_DRAM_BANKS		1
 #define CONFIG_SYS_SDRAM_BASE		MMDC0_ARB_BASE_ADDR
Signature · 1 line
1.9.1
#1 lore raw

PATCH 2/2 tbs2910: add PRE_CONSOLE_BUFFER support

Add PRE_CONSOLE_BUFFER support to display early boot messages over HDMI.

---
Cc: Stefano Babic <[email protected]>

---
 include/configs/tbs2910.h | 4 ++++
 1 file changed, 4 insertions(+)
include/configs/tbs2910.h +4 -0
index 2d0de45..f915b18 100644
@@ -51,6 +51,10 @@
 #define CONFIG_CONSOLE_MUX
 #define CONFIG_CONS_INDEX		1
 
+#define CONFIG_PRE_CONSOLE_BUFFER
+#define CONFIG_PRE_CON_BUF_SZ		4096
+#define CONFIG_PRE_CON_BUF_ADDR		0x7C000000
+
 /* *** Command definition *** */
 #define CONFIG_CMD_BMODE
 #define CONFIG_CMD_SETEXPR
Signature · 1 line
1.9.1
#2 lore raw

PATCH 2/2 tbs2910: add PRE_CONSOLE_BUFFER support

Quoted 15 lines · Soeren Moch

Add PRE_CONSOLE_BUFFER support to display early boot messages over HDMI.

---
Cc: Stefano Babic <[email protected]>

---
 include/configs/tbs2910.h | 4 ++++
 1 file changed, 4 insertions(+)
include/configs/tbs2910.h +0 -0
index 2d0de45..f915b18 100644

include/configs/tbs2910.h line 60

Quoted 10 lines
include/configs/tbs2910.h +4 -0
@@ -51,6 +51,10 @@
 #define CONFIG_CONSOLE_MUX
 #define CONFIG_CONS_INDEX		1
 
+#define CONFIG_PRE_CONSOLE_BUFFER
+#define CONFIG_PRE_CON_BUF_SZ		4096
+#define CONFIG_PRE_CON_BUF_ADDR		0x7C000000
+
 /* *** Command definition *** */
 #define CONFIG_CMD_BMODE
 #define CONFIG_CMD_SETEXPR

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
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: sbabic at denx.de
=====================================================================
#3 lore raw

PATCH 1/2 tbs2910: add thermal support

In reply to Soeren Moch
Quoted 24 lines · Soeren Moch

---
Cc: Stefano Babic <[email protected]>

---
 configs/tbs2910_defconfig | 2 ++
 include/configs/tbs2910.h | 2 ++
 2 files changed, 4 insertions(+)
configs/tbs2910_defconfig +2 -0
index cace345..51319d1 100644
@@ -1,3 +1,5 @@
 CONFIG_ARM=y
 CONFIG_TARGET_TBS2910=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6q2g.cfg,MX6Q"
+CONFIG_DM=y
+CONFIG_DM_THERMAL=y
include/configs/tbs2910.h +0 -0
index 13a6e06..2d0de45 100644

include/configs/tbs2910.h line 28

Quoted 8 lines
include/configs/tbs2910.h +2 -0
@@ -21,6 +21,8 @@
 #define CONFIG_SYS_PROMPT		"Matrix U-Boot> "
 #define CONFIG_SYS_HZ			1000
 
+#define CONFIG_IMX6_THERMAL
+
 /* Physical Memory Map */
 #define CONFIG_NR_DRAM_BANKS		1
 #define CONFIG_SYS_SDRAM_BASE		MMDC0_ARB_BASE_ADDR

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
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: sbabic at denx.de
=====================================================================