mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-21 18:53:06 +00:00
2edb02ead7
dev_read_addr() returns a value of type fdt_addr_t which is a 64-bit address and pd->va is a pointer. In a 32-bit build, this causes the following warning seen when building sifive-prci.c: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Change to use dev_read_addr_ptr(). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> |
||
---|---|---|
.. | ||
fu540-prci.c | ||
fu540-prci.h | ||
fu740-prci.c | ||
fu740-prci.h | ||
Kconfig | ||
Makefile | ||
sifive-prci.c | ||
sifive-prci.h |