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@chromium.org> Reviewed-on: http://review.coreboot.org/3105 Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Tested-by: build bot (Jenkins)
This commit is contained in:
parent
45988dab6b
commit
b9e6e1ab35
|
@ -39,4 +39,7 @@
|
||||||
#define S5PC110_USB_PHY_CON 0xE010E80C
|
#define S5PC110_USB_PHY_CON 0xE010E80C
|
||||||
#define S5PC110_INFORM0 0xE010F000
|
#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
|
#endif
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
#include <arch/hlt.h>
|
#include <arch/hlt.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
|
#include <cpu/samsung/exynos5-common/power.h>
|
||||||
#include <cpu/samsung/exynos5250/cpu.h>
|
#include <cpu/samsung/exynos5250/cpu.h>
|
||||||
#include <cpu/samsung/exynos5250/power.h>
|
#include <cpu/samsung/exynos5250/power.h>
|
||||||
#include <cpu/samsung/exynos5250/sysreg.h>
|
#include <cpu/samsung/exynos5250/sysreg.h>
|
||||||
|
|
|
@ -71,9 +71,6 @@ void power_enable_dp_phy(void);
|
||||||
void power_enable_usb_phy(void);
|
void power_enable_usb_phy(void);
|
||||||
void power_disable_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 */
|
/* Initialize the pmic voltages to power up the system */
|
||||||
int power_init(void);
|
int power_init(void);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue