From b9e6e1ab35c54ed5bd32a2f25a86f73c46d1acb3 Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Thu, 18 Apr 2013 15:04:43 -0700 Subject: 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 Reviewed-on: http://review.coreboot.org/3105 Reviewed-by: Ronald G. Minnich Tested-by: build bot (Jenkins) --- 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(-) (limited to 'src/cpu/samsung') diff --git a/src/cpu/samsung/exynos5-common/power.h b/src/cpu/samsung/exynos5-common/power.h index 57e2a2ba19..ff98123d6d 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 ffba8c5f37..8aba0e86b6 100644 --- a/src/cpu/samsung/exynos5250/power.c +++ b/src/cpu/samsung/exynos5250/power.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include diff --git a/src/cpu/samsung/exynos5250/power.h b/src/cpu/samsung/exynos5250/power.h index 59a02574db..20a884eefc 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); -- cgit v1.2.3