[coreboot-gerrit] New patch to review for coreboot: 108eebc exynos5: move power_enable_hw_thermal_trip() prototype

David Hendricks (dhendrix@chromium.org) gerrit at coreboot.org
Fri Apr 19 00:23:07 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/3105

-gerrit

commit 108eebc10bc79b912207387ac896e0361f41f788
Author: David Hendricks <dhendrix at chromium.org>
Date:   Thu Apr 18 15:04:43 2013 -0700

    exynos5: move power_enable_hw_thermal_trip() prototype
    
    This moves the prototype for power_enable_hw_thermal_trip() to
    a generic location so it can be used by generalized thermal
    management code. The implementation will still be CPU-specific.
    
    Change-Id: Iae449cb8c72c8441dedaf65b73db9898b4730cef
    Signed-off-by: David Hendricks <dhendrix at chromium.org>
---
 src/cpu/samsung/exynos5-common/power.h | 3 +++
 src/cpu/samsung/exynos5250/power.c     | 1 +
 src/cpu/samsung/exynos5250/power.h     | 3 ---
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/cpu/samsung/exynos5-common/power.h b/src/cpu/samsung/exynos5-common/power.h
index 57e2a2b..ff98123 100644
--- a/src/cpu/samsung/exynos5-common/power.h
+++ b/src/cpu/samsung/exynos5-common/power.h
@@ -39,4 +39,7 @@
 #define S5PC110_USB_PHY_CON		0xE010E80C
 #define S5PC110_INFORM0			0xE010F000
 
+/* Enable HW thermal trip with PS_HOLD_CONTROL register ENABLE_HW_TRIP bit */
+void power_enable_hw_thermal_trip(void);
+
 #endif
diff --git a/src/cpu/samsung/exynos5250/power.c b/src/cpu/samsung/exynos5250/power.c
index ffba8c5..8aba0e8 100644
--- a/src/cpu/samsung/exynos5250/power.c
+++ b/src/cpu/samsung/exynos5250/power.c
@@ -27,6 +27,7 @@
 #include <arch/io.h>
 #include <arch/hlt.h>
 #include <console/console.h>
+#include <cpu/samsung/exynos5-common/power.h>
 #include <cpu/samsung/exynos5250/cpu.h>
 #include <cpu/samsung/exynos5250/power.h>
 #include <cpu/samsung/exynos5250/sysreg.h>
diff --git a/src/cpu/samsung/exynos5250/power.h b/src/cpu/samsung/exynos5250/power.h
index 59a0257..20a884e 100644
--- a/src/cpu/samsung/exynos5250/power.h
+++ b/src/cpu/samsung/exynos5250/power.h
@@ -71,9 +71,6 @@ void power_enable_dp_phy(void);
 void power_enable_usb_phy(void);
 void power_disable_usb_phy(void);
 
-/* Enable HW thermal trip with PS_HOLD_CONTROL register ENABLE_HW_TRIP bit */
-void power_enable_hw_thermal_trip(void);
-
 /* Initialize the pmic voltages to power up the system */
 int power_init(void);
 



More information about the coreboot-gerrit mailing list