[PATCH 2/3] ata: mvebu: use dev_read_addr() to get base address
Simon Glass
sjg at chromium.org
Sun Aug 23 01:18:00 CEST 2020
On 04.08.20 07:14, Masahiro Yamada wrote:
> 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 at socionext.com>
> ---
>
> drivers/ata/ahci_mvebu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list