diff options
Diffstat (limited to 'src/cpu/samsung/exynos5250/power.h')
-rw-r--r-- | src/cpu/samsung/exynos5250/power.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpu/samsung/exynos5250/power.h b/src/cpu/samsung/exynos5250/power.h index 2b57e18ec4..293fe3b704 100644 --- a/src/cpu/samsung/exynos5250/power.h +++ b/src/cpu/samsung/exynos5250/power.h @@ -22,6 +22,8 @@ #ifndef CPU_SAMSUNG_EXYNOS5250_POWER_H #define CPU_SAMSUNG_EXYNOS5250_POWER_H +#include "cpu.h" + /* Enable HW thermal trip with PS_HOLD_CONTROL register ENABLE_HW_TRIP bit */ void power_enable_hw_thermal_trip(void); @@ -60,6 +62,8 @@ struct exynos5_power { uint32_t ps_hold_ctrl; /* 0x330c */ } __attribute__ ((__packed__)); +static struct exynos5_power * const exynos_power = (void*)EXYNOS5_POWER_BASE; + /** * Perform a software reset. */ |