diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2020-08-04 08:14:42 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-08-22 17:51:44 +0300 |
commit | 1450bff3e4719d1b34189bf62ad19d0e3c10a548 (patch) | |
tree | 712e60fbf05dc3824493374939eff46176f58189 /drivers/watchdog | |
parent | 0cbf3e08fc735b54e7918138e73b34870a213333 (diff) | |
download | u-boot-1450bff3e4719d1b34189bf62ad19d0e3c10a548.tar.xz |
ata: mvebu: use dev_read_addr() to get base address
It is strange to use devfdt_get_addr_ptr(), then cast the pointer
back to ulong because you could use devfdt_get_addr() without casting.
Convert it to dev_read_addr(), which is capable to CONFIG_OF_LIVE.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/watchdog')
0 files changed, 0 insertions, 0 deletions