diff options
Diffstat (limited to 'firmware/target/arm/imx233/power-imx233.h')
-rw-r--r-- | firmware/target/arm/imx233/power-imx233.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/power-imx233.h b/firmware/target/arm/imx233/power-imx233.h index d0fe686888..4d6edaf0e2 100644 --- a/firmware/target/arm/imx233/power-imx233.h +++ b/firmware/target/arm/imx233/power-imx233.h | |||
@@ -67,6 +67,8 @@ | |||
67 | #define HW_POWER_STS__PSWITCH_BM (3 << 20) | 67 | #define HW_POWER_STS__PSWITCH_BM (3 << 20) |
68 | 68 | ||
69 | #define HW_POWER_BATTMONITOR (*(volatile uint32_t *)(HW_POWER_BASE + 0xe0)) | 69 | #define HW_POWER_BATTMONITOR (*(volatile uint32_t *)(HW_POWER_BASE + 0xe0)) |
70 | #define HW_POWER_BATTMONITOR__BATT_VAL_BP 16 | ||
71 | #define HW_POWER_BATTMONITOR__BATT_VAL_BM (0x3ff << 16) | ||
70 | 72 | ||
71 | #define HW_POWER_RESET (*(volatile uint32_t *)(HW_POWER_BASE + 0x100)) | 73 | #define HW_POWER_RESET (*(volatile uint32_t *)(HW_POWER_BASE + 0x100)) |
72 | #define HW_POWER_RESET__UNLOCK 0x3E770000 | 74 | #define HW_POWER_RESET__UNLOCK 0x3E770000 |