summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cpu/samsung/exynos5-common/power.h3
-rw-r--r--src/cpu/samsung/exynos5250/power.c1
-rw-r--r--src/cpu/samsung/exynos5250/power.h3
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 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 <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 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);