]> git.dujemihanovic.xyz Git - u-boot.git/commit
boot: fdt: Drop lmb_alloc*() typecasts
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Tue, 26 Mar 2024 22:13:15 +0000 (23:13 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 11 Apr 2024 15:38:57 +0000 (09:38 -0600)
commitf5178ddd9d054b67b41c0ca5adb608076b2546f2
tree621a36a71a9ae4200c5ce2f35ed78df03d83c9ea
parentca8d4dfdbdc092f0d5b064a10dcd33567a0737ef
boot: fdt: Drop lmb_alloc*() typecasts

The lmb_alloc_base() returns phys_addr_t , map_sysmem() accepts
phys_addr_t as first parameter. Declare 'addr' as phys_addr_t and
get rid of the casts.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reported-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
boot/image-fdt.c