Skip to content
Commit 1450bff3 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Simon Glass
Browse files

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: default avatarStefan Roese <sr@denx.de>
parent 0cbf3e08
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment