commit | c6c8c7a13f340488277cd3f211d9822b8c86fc95 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Tue Aug 04 14:14:42 2020 +0900 |
committer | Simon Glass <sjg@chromium.org> | Sat Aug 22 08:51:44 2020 -0600 |
tree | 712e60fbf05dc3824493374939eff46176f58189 | |
parent | 5150bc795e6f1ff5c2eb4ae8a7e0285e76cd4f7b [diff] |
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>