From e5ed51102f16cc33036ef22decdb77f5216bac3a Mon Sep 17 00:00:00 2001 From: Marco von Rosenberg Date: Sat, 29 Jun 2024 18:49:20 +0200 Subject: [PATCH] improve loader --- target/linux/ath79/image/lzma-loader/src/board.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/target/linux/ath79/image/lzma-loader/src/board.c b/target/linux/ath79/image/lzma-loader/src/board.c index 73e1b35ee4e2c2..98861ee447886b 100644 --- a/target/linux/ath79/image/lzma-loader/src/board.c +++ b/target/linux/ath79/image/lzma-loader/src/board.c @@ -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)