watchdog: Split WDT from SPL_WDT
authorMarek Vasut <marex@denx.de>
Sun, 9 Jun 2019 01:46:21 +0000 (03:46 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 19 Jul 2019 18:14:50 +0000 (20:14 +0200)
commit6874cb72204ffbdbe4290baae11d0b9b8ed47ed1
tree9c210495bec100440da3dc0957afc7bb80a3d509
parent41d185d142365625700f2df5d5d7b237da4bc58d
watchdog: Split WDT from SPL_WDT

Use CONFIG_IS_ENABLED(WDT) to permit use of WDT in SPL without DM,
while the full U-Boot can use rich DM/DT WDT driver.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Peng Fan <Peng.Fan@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Tested-by: Heiko Schocher <hs@denx.de>
Tested-by: Suniel Mahesh <sunil.m@techveda.org>
common/board_r.c
common/spl/Kconfig
common/spl/spl.c
drivers/watchdog/Kconfig
drivers/watchdog/Makefile
include/asm-generic/global_data.h
include/wdt.h