[PATCH] watchdog: Use dev_read only if OF_PLATDATA is not enabled
Stefan Roese
sr at denx.de
Mon Mar 16 15:18:41 CET 2020
On 23.01.20 20:05, Walter Lozano wrote:
> Currently watchdog tries to use dev_read_u32_default to get timeout
> configuration in case OF_CONTROL is enabled. However, if SPL is
> built with OF_PLATDATA this has no sense as there is no device tree.
>
> This patch fixes this issue by only use dev_read_u32_default if OF_CONTROL
> is enabled but OF_PLATDATA is not.
>
> Signed-off-by: Walter Lozano <walter.lozano at collabora.com>
> ---
Applied to u-boot-marvell/master.
Thanks,
Stefan
More information about the U-Boot
mailing list