mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-23 11:33:32 +00:00
7659ea32a6
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>
31 lines
1.1 KiB
Makefile
31 lines
1.1 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2008
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
obj-$(CONFIG_WDT_AT91) += at91sam9_wdt.o
|
|
obj-$(CONFIG_FTWDT010_WATCHDOG) += ftwdt010_wdt.o
|
|
ifneq (,$(filter $(SOC), mx25 mx31 mx35 mx5 mx6 mx7 vf610))
|
|
obj-y += imx_watchdog.o
|
|
else
|
|
obj-$(CONFIG_IMX_WATCHDOG) += imx_watchdog.o
|
|
endif
|
|
obj-$(CONFIG_S5P) += s5p_wdt.o
|
|
obj-$(CONFIG_XILINX_TB_WATCHDOG) += xilinx_tb_wdt.o
|
|
obj-$(CONFIG_OMAP_WATCHDOG) += omap_wdt.o
|
|
obj-$(CONFIG_DESIGNWARE_WATCHDOG) += designware_wdt.o
|
|
obj-$(CONFIG_ULP_WATCHDOG) += ulp_wdog.o
|
|
obj-$(CONFIG_$(SPL_TPL_)WDT) += wdt-uclass.o
|
|
obj-$(CONFIG_WDT_SANDBOX) += sandbox_wdt.o
|
|
obj-$(CONFIG_WDT_ARMADA_37XX) += armada-37xx-wdt.o
|
|
obj-$(CONFIG_WDT_ASPEED) += ast_wdt.o
|
|
obj-$(CONFIG_WDT_BCM6345) += bcm6345_wdt.o
|
|
obj-$(CONFIG_WDT_ORION) += orion_wdt.o
|
|
obj-$(CONFIG_WDT_CDNS) += cdns_wdt.o
|
|
obj-$(CONFIG_WDT_MPC8xx) += mpc8xx_wdt.o
|
|
obj-$(CONFIG_WDT_MT7621) += mt7621_wdt.o
|
|
obj-$(CONFIG_WDT_MTK) += mtk_wdt.o
|
|
obj-$(CONFIG_WDT_OMAP3) += omap_wdt.o
|
|
obj-$(CONFIG_WDT_SP805) += sp805_wdt.o
|
|
obj-$(CONFIG_WDT_STM32MP) += stm32mp_wdt.o
|
|
obj-$(CONFIG_WDT_TANGIER) += tangier_wdt.o
|