diff options
author | Rasmus Villemoes <ravi@prevas.dk> | 2024-10-07 19:47:16 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2024-10-23 07:02:25 +0200 |
commit | ed3410ee6049a7683718e8255575ad55ee1bdefd (patch) | |
tree | 54b73688ebc3a841f0d347e6f4f3da84aaa294b4 /drivers/ddr/imx/imx8m/ddr_init.c | |
parent | 6459964d738fe74f2cec7bca7caa1de444bc9d54 (diff) |
watchdog: introduce separate SPL symbol for WDT_GPIO
Currently, enabling WDT_GPIO on a board which uses SPL, but does not
have SPL_WDT, SPL_DM_GPIO or SPL_OF_CONTROL enabled, breaks the build.
Make it possible to use the WDT_GPIO driver on such boards by
introducing a separate symbol controlling whether the driver is built
for SPL. Make it default to WDT_GPIO such that boards that already
have it enabled and all the SPL prerequisites satisfied will continue
to have it in SPL.
Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/ddr/imx/imx8m/ddr_init.c')
0 files changed, 0 insertions, 0 deletions