1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 00:32:04 +02:00
Files
u-boot-megous/include
Walter Lozano ed666fb129 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>
2020-03-16 11:25:12 +01:00
..
2019-12-06 16:44:20 -05:00
2019-12-15 11:44:16 +08:00
2020-02-05 19:33:46 -07:00
2020-01-07 14:37:50 +01:00
2020-02-05 19:33:46 -07:00
2020-01-24 23:06:47 +05:30
2020-01-20 15:38:16 +01:00
2019-12-17 06:58:19 +01:00
2020-01-20 15:38:16 +01:00
2020-01-24 23:06:49 +05:30
2020-01-07 16:03:01 -07:00
2020-01-25 12:04:36 -05:00
2020-03-09 18:11:23 -05:00
2020-02-05 19:33:46 -07:00
2019-12-15 11:44:11 +08:00
2020-02-05 19:33:46 -07:00
2019-12-06 16:44:19 -05:00
2020-03-09 08:33:16 +08:00
2020-02-05 19:33:46 -07:00
2020-01-24 23:06:49 +05:30
2020-01-21 15:56:15 +01:00
2020-02-07 22:46:35 +08:00