On 7 August 2017 at 02:14, Kever Yang <kever.y...@rock-chips.com> wrote:
> To fix warning in ARM64:
> common/fb_mmc.c: In function ‘fb_mmc_update_zimage’:
> common/fb_mmc.c:216:13: warning: cast from pointer to integer of
> different size [-Wpointer-to-int-cast]
>   hdr_addr = (u32)download_buffer + ALIGN(download_bytes, PAGE_SIZE);
>              ^
> common/fb_mmc.c:217:8: warning: cast to pointer from integer of
> different size [-Wint-to-pointer-cast]
>   hdr = (struct andr_img_hdr *)hdr_addr;
>
> Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
> ---
>
>  common/fb_mmc.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

Reviewed-by: Simon Glass <s...@chromium.org>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to