Skip to content

Commit

Permalink
improve loader
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingMarco committed Jun 29, 2024
1 parent 84ab033 commit e5ed511
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions target/linux/ath79/image/lzma-loader/src/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,9 @@ static inline void huawei_apXXXXdn_init(void)
WRITEREG(gpiobase + AR71XX_GPIO_REG_OE,
reg & ~(1 << apXXXXdn_watchdog_gpio));

/* Set GPIO15 MUX to output CLK_OBS4 (= AHB_CLK/2)
* to keep the watchdog happy until wdt-gpio takes over
/* Set GPIO15 MUX to output CLK_OBS5 (= CPU_CLK/4)
* or CLK_OBS4 (= AHB_CLK/2) to keep the watchdog happy
* until wdt-gpio takes over
*/
reg = READREG(gpiobase + AR934X_GPIO_REG_OUT_FUNC3);
#if defined(CONFIG_BOARD_HUAWEI_AP5030DN)
Expand Down

0 comments on commit e5ed511

Please sign in to comment.