diff options
author | Pali Rohár <pali@kernel.org> | 2021-03-09 14:26:57 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-04-06 10:47:32 +0200 |
commit | 88965fef6ef005df15e6fac8d2e33fd775a1466d (patch) | |
tree | 5718aaf1afa0166680f1dafa923ec59e5dff39ec /configs/mvebu_espressobin-88f3720_defconfig | |
parent | 830d29ac37216df0946afad5ab454b081062bc2e (diff) | |
download | u-boot-88965fef6ef005df15e6fac8d2e33fd775a1466d.zip u-boot-88965fef6ef005df15e6fac8d2e33fd775a1466d.tar.gz u-boot-88965fef6ef005df15e6fac8d2e33fd775a1466d.tar.bz2 |
arm: mvebu: Espressobin: Enable watchdog support but do not start it
Espressobin had disabled watchdog support (CONFIG_WDT) because older stable
Linux kernel versions (which are used by current stable OpenWRT and Debian
versions) do not have support for Armada 3700 watchdog driver. Therefore
they are not able to periodically kick watchdog so Espressobin enter into
boot loop.
This change enable CONFIG_WDT, CONFIG_WDT_ARMADA_37XX and CONFIG_CMD_WDT
options which add support for U-Boot 'wdt' command. And unset new
CONFIG_WATCHDOG_AUTOSTART option which cause that watchdog is not
automatically started by U-Boot during init phase, like when CONFIG_WDT
option is not set at all.
So with this change, U-Boot on Espressobin would have working 'wdt' command
which can be used from boot scripts (e.g. for enabling watchdog prior new
Linux booting kernel). But default behavior of watchdog status stays
unchanged, U-Boot does not start watchdog on Espressobin during its init
phase.
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'configs/mvebu_espressobin-88f3720_defconfig')
-rw-r--r-- | configs/mvebu_espressobin-88f3720_defconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/mvebu_espressobin-88f3720_defconfig b/configs/mvebu_espressobin-88f3720_defconfig index 212bc00..dd586c3 100644 --- a/configs/mvebu_espressobin-88f3720_defconfig +++ b/configs/mvebu_espressobin-88f3720_defconfig @@ -32,6 +32,7 @@ CONFIG_CMD_MMC=y CONFIG_CMD_PCI=y CONFIG_CMD_SPI=y CONFIG_CMD_USB=y +CONFIG_CMD_WDT=y CONFIG_CMD_TFTPPUT=y CONFIG_CMD_CACHE=y CONFIG_CMD_TIME=y @@ -88,4 +89,7 @@ CONFIG_USB_ETHER_ASIX=y CONFIG_USB_ETHER_MCS7830=y CONFIG_USB_ETHER_RTL8152=y CONFIG_USB_ETHER_SMSC95XX=y +# CONFIG_WATCHDOG_AUTOSTART is not set +CONFIG_WDT=y +CONFIG_WDT_ARMADA_37XX=y CONFIG_SHA1=y |