summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2013-04-18 15:19:40 -0700
committerDavid Hendricks <dhendrix@chromium.org>2013-04-19 04:19:28 +0200
commit34240b06d8c5d6cc9068279e627ac4d1ebca625b (patch)
tree7c3238bd552c0c9505d5baa5ded699efaa573889
parentcd14ed71bb25bf04ea450bdbd02805be5f9b1941 (diff)
[3/3] google/snow: enable TMU
This enables the thermal management unit (TMU) on Snow. Change-Id: Idd76af40bf0a5408baf61ef2665fd52ae4e260ba Signed-off-by: David Hendricks <dhendrix@chromium.org> Reviewed-on: http://review.coreboot.org/3108 Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Tested-by: build bot (Jenkins)
-rw-r--r--src/mainboard/google/snow/ramstage.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/snow/ramstage.c b/src/mainboard/google/snow/ramstage.c
index 962c79b653..f3dad4a6bd 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);