[coreboot-gerrit] New patch to review for coreboot: a4e76e6 [3/3] google/snow: enable TMU

David Hendricks (dhendrix@chromium.org) gerrit at coreboot.org
Fri Apr 19 00:23:08 CEST 2013


David Hendricks (dhendrix at chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3108

-gerrit

commit a4e76e601443447a638482e1ed78583cb6f6b9b5
Author: David Hendricks <dhendrix at chromium.org>
Date:   Thu Apr 18 15:19:40 2013 -0700

    [3/3] google/snow: enable TMU
    
    This enables the thermal management unit (TMU) on Snow.
    
    Change-Id: Idd76af40bf0a5408baf61ef2665fd52ae4e260ba
    Signed-off-by: David Hendricks <dhendrix at chromium.org>
---
 src/mainboard/google/snow/ramstage.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/mainboard/google/snow/ramstage.c b/src/mainboard/google/snow/ramstage.c
index 962c79b..f3dad4a 100644
--- a/src/mainboard/google/snow/ramstage.c
+++ b/src/mainboard/google/snow/ramstage.c
@@ -26,6 +26,7 @@
 #include <arch/cache.h>
 #include <arch/exception.h>
 #include <arch/gpio.h>
+#include <cpu/samsung/exynos5-common/exynos-tmu.h>
 #include <cpu/samsung/exynos5250/clk.h>
 #include <cpu/samsung/exynos5250/cpu.h>
 #include <cpu/samsung/exynos5250/gpio.h>
@@ -217,6 +218,8 @@ static void mainboard_init(device_t dev)
 	i2c_init(TPS69050_BUS, CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
 	i2c_init(7, CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
 
+	tmu_init(&exynos5250_tmu_info);
+
 	snow_lcd_vdd();
 	do {
 		udelay(50);



More information about the coreboot-gerrit mailing list