diff options
Diffstat (limited to 'include/clock.h')
-rw-r--r-- | include/clock.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/clock.h b/include/clock.h index 343b43ecee..875be91006 100644 --- a/include/clock.h +++ b/include/clock.h @@ -55,18 +55,6 @@ void clock_enable_pll(int enable, int notify); */ void clock_wait_cycles(uint32_t cycles); -/* Low power modes for idle API */ - -enum { - SLEEP_MASK_AP_RUN = (1 << 0), /* the main CPU is running */ - SLEEP_MASK_UART = (1 << 1), /* UART communication on-going */ - SLEEP_MASK_I2C = (1 << 2), /* I2C master communication on-going */ - SLEEP_MASK_CHARGING = (1 << 3), /* Charging loop on-going */ - SLEEP_MASK_USB_PWR = (1 << 4), /* USB power loop on-going */ - - SLEEP_MASK_FORCE = (1 << 31), /* Force disabling low power modes */ -}; - /* Clock gate control modes for clock_enable_peripheral() */ #define CGC_MODE_RUN (1 << 0) #define CGC_MODE_SLEEP (1 << 1) @@ -93,7 +81,4 @@ void clock_enable_peripheral(uint32_t offset, uint32_t mask, uint32_t mode); */ void clock_disable_peripheral(uint32_t offset, uint32_t mask, uint32_t mode); -void enable_sleep(uint32_t mask); -void disable_sleep(uint32_t mask); - #endif /* __CROS_EC_CLOCK_H */ |