Skip to content

Commit

Permalink
Merge pull request #78 from YuzukiHD/dev
Browse files Browse the repository at this point in the history
[board] fix vccio drag down rtc,
  • Loading branch information
SamulKyull authored Apr 28, 2024
2 parents a7e724c + 5167b67 commit a1aadab
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions board/avaota-a1/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion board/avaota-a1/payloads/init_dram_bin.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion payloads

0 comments on commit a1aadab

Please sign in to comment.