From 5167b67c7c220567b45ffbc97cfb85f8b02a35c2 Mon Sep 17 00:00:00 2001 From: SamulKyull Date: Sun, 28 Apr 2024 15:56:15 +0800 Subject: [PATCH] [board] fix vccio drag down rtc, --- board/avaota-a1/board.c | 5 ----- board/avaota-a1/payloads/init_dram_bin.c | 2 +- payloads | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/board/avaota-a1/board.c b/board/avaota-a1/board.c index 280570da..1594ee07 100644 --- a/board/avaota-a1/board.c +++ b/board/avaota-a1/board.c @@ -214,11 +214,6 @@ void rtc_set_vccio_det_spare(void) { val |= DEBOUNCE_NO_BYPASS; writel(val, SUNXI_RTC_BASE + VDD_OFF_GATING_CTRL_REG); - /* enable vccio detecter output */ - val = readl(SUNXI_RTC_BASE + VDD_OFF_GATING_CTRL_REG); - val |= FORCE_DETECTER_OUTPUT; - writel(val, SUNXI_RTC_BASE + VDD_OFF_GATING_CTRL_REG); - /* enbale vccio detect */ val = readl(SUNXI_RTC_BASE + VDD_OFF_GATING_CTRL_REG); val &= ~VCCIO_DET_BYPASS_EN; diff --git a/board/avaota-a1/payloads/init_dram_bin.c b/board/avaota-a1/payloads/init_dram_bin.c index c3eafb9b..c38cae22 100644 --- a/board/avaota-a1/payloads/init_dram_bin.c +++ b/board/avaota-a1/payloads/init_dram_bin.c @@ -1824,7 +1824,7 @@ const unsigned char __attribute__((section(".init_dram_bin"))) init_dram_bin[312 0x04, 0x10, 0x41, 0x22, 0x08, 0x20, 0x8F, 0xE2, 0x00, 0x00, 0xD2, 0xE7, 0x01, 0x00, 0x80, 0xE0, 0x1E, 0xFF, 0x2F, 0xE1, 0x04, 0x03, 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x78, 0x47, 0xFD, 0xE7, 0xE7, 0xE4, 0xFF, 0xEA, - 0x5C, 0xFE, 0xFF, 0x7F, 0x01, 0x00, 0x00, 0x00, 0x9C, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, + 0x5C, 0xFE, 0xFF, 0x7F, 0x01, 0x00, 0x00, 0x00, 0xB0, 0x04, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x07, 0x07, 0x07, 0x07, 0x0D, 0x0D, 0x0D, 0x0D, 0x0E, 0x0E, 0x00, 0x00, 0x84, 0x84, 0x84, 0x84, 0x0A, 0x31, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x34, 0x00, 0x00, 0x00, 0x1B, 0x00, 0x00, 0x00, 0x33, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, diff --git a/payloads b/payloads index a33b92fb..66d758f3 160000 --- a/payloads +++ b/payloads @@ -1 +1 @@ -Subproject commit a33b92fbdeee838b9e038d923680f9dedba0dd8c +Subproject commit 66d758f33d9cb9e291086d084d47a18508c234c2