diff options
author | Walter Lozano <walter.lozano@collabora.com> | 2020-01-23 16:05:05 -0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2020-03-16 11:25:12 +0100 |
commit | ed666fb12910f46cff73a3869058ea59aef4261b (patch) | |
tree | aed96dd9ab513b8d07917842bcb71a8ea1bcf783 /include/configs/bcm23550_w1d.h | |
parent | 50be9f0e1ccc0909e65132cff216743a49046f97 (diff) |
watchdog: Use dev_read only if OF_PLATDATA is not enabled
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@collabora.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs/bcm23550_w1d.h')
0 files changed, 0 insertions, 0 deletions