diff options
-rw-r--r-- | board/ti/common/rtc.c | 16 | ||||
-rw-r--r-- | board/ti/common/rtc.h | 8 |
2 files changed, 0 insertions, 24 deletions
diff --git a/board/ti/common/rtc.c b/board/ti/common/rtc.c index 65c1f75c897..44e0d989a34 100644 --- a/board/ti/common/rtc.c +++ b/board/ti/common/rtc.c @@ -23,20 +23,4 @@ void board_rtc_init(void) /* Make sure to mux up to take the SoC 32k from the crystal */ writel(MCU_CTRL_DEVICE_CLKOUT_LFOSC_SELECT_VAL, MCU_CTRL_DEVICE_CLKOUT_32K_CTRL); - - /* Setup debounce conf registers - arbitrary values. - * Times are approx - */ - /* 1.9ms debounce @ 32k */ - writel(WKUP_CTRLMMR_DBOUNCE_CFG1, 0x1); - /* 5ms debounce @ 32k */ - writel(WKUP_CTRLMMR_DBOUNCE_CFG2, 0x5); - /* 20ms debounce @ 32k */ - writel(WKUP_CTRLMMR_DBOUNCE_CFG3, 0x14); - /* 46ms debounce @ 32k */ - writel(WKUP_CTRLMMR_DBOUNCE_CFG4, 0x18); - /* 100ms debounce @ 32k */ - writel(WKUP_CTRLMMR_DBOUNCE_CFG5, 0x1c); - /* 156ms debounce @ 32k */ - writel(WKUP_CTRLMMR_DBOUNCE_CFG6, 0x1f); } diff --git a/board/ti/common/rtc.h b/board/ti/common/rtc.h index 57737829b69..fce45c42171 100644 --- a/board/ti/common/rtc.h +++ b/board/ti/common/rtc.h @@ -8,14 +8,6 @@ #ifndef __RTC_H #define __RTC_H -/* Debounce configuration register*/ -#define WKUP_CTRLMMR_DBOUNCE_CFG1 0x04504084 -#define WKUP_CTRLMMR_DBOUNCE_CFG2 0x04504088 -#define WKUP_CTRLMMR_DBOUNCE_CFG3 0x0450408c -#define WKUP_CTRLMMR_DBOUNCE_CFG4 0x04504090 -#define WKUP_CTRLMMR_DBOUNCE_CFG5 0x04504094 -#define WKUP_CTRLMMR_DBOUNCE_CFG6 0x04504098 - /** * board_rtc_init() - Enable the external 32k crystal and configure debounce * registers. |