summaryrefslogtreecommitdiff
path: root/configs/am335x_evm_defconfig
diff options
context:
space:
mode:
authorSuniel Mahesh <sunil.m@techveda.org>2019-07-31 19:24:06 +0300
committerTom Rini <trini@konsulko.com>2019-08-12 14:25:22 +0300
commit7659ea32a6e99c4880ee38df90522876490788ad (patch)
tree45807241763fa5e8c3ccf48771a2f655c61e62f2 /configs/am335x_evm_defconfig
parent2800bb155b57b5e6a25e4bbc1e30e9032a03f197 (diff)
downloadu-boot-7659ea32a6e99c4880ee38df90522876490788ad.tar.xz
watchdog: omap_wdt: Convert watchdog driver to use DT and DM
This patch adds device tree and driver model watchdog support, converts the legacy omap watchdog driver to driver model for TI AM335x chipsets. The following compile warning is removed: ===================== WARNING ====================== This board does not use CONFIG_WDT (DM watchdog support). Please update the board to use CONFIG_WDT before the v2019.10 release. Failure to update by the deadline may result in board removal. See doc/driver-model/MIGRATION.txt for more info. ==================================================== CONFIG_HW_WATCHDOG is no more a default option for AM33XX devices after DT/DM conversion, adjusted kconfig accordingly. DM watchdog support is enabled by default in SPL. The SPL image doesn't fit into SRAM because of size constraints and build breaks with an overflow. For this reason DM watchdog support should be disabled in SPL, driver code should be adjusted accordingly to serve this purpose. Built and tested on AM335x device (BeagleboneBlack), compile tested for all other AM33xx based boards. Signed-off-by: Suniel Mahesh <sunil.m@techveda.org>
Diffstat (limited to 'configs/am335x_evm_defconfig')
-rw-r--r--configs/am335x_evm_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig
index ff96f192e0..fa6b03060a 100644
--- a/configs/am335x_evm_defconfig
+++ b/configs/am335x_evm_defconfig
@@ -58,6 +58,8 @@ CONFIG_DM_SPI=y
CONFIG_OMAP3_SPI=y
CONFIG_TIMER=y
CONFIG_OMAP_TIMER=y
+CONFIG_WDT=y
+CONFIG_WDT_OMAP3=y
CONFIG_USB=y
CONFIG_DM_USB=y
CONFIG_DM_USB_GADGET=y