Re: [U-Boot] [PATCH] fastboot: mmc: fix pointer size warning in 64bit system

2017-08-18 Thread Sam Protsenko
On 18 August 2017 at 10:28, Jaehoon Chung wrote: > On 08/14/2017 12:35 AM, Simon Glass wrote: >> On 7 August 2017 at 02:14, Kever Yang wrote: >>> To fix warning in ARM64: >>> common/fb_mmc.c: In function ‘fb_mmc_update_zimage’: >>>

Re: [U-Boot] [PATCH] fastboot: mmc: fix pointer size warning in 64bit system

2017-08-18 Thread Jaehoon Chung
On 08/14/2017 12:35 AM, Simon Glass wrote: > On 7 August 2017 at 02:14, Kever Yang 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

Re: [U-Boot] [PATCH] fastboot: mmc: fix pointer size warning in 64bit system

2017-08-13 Thread Simon Glass
On 7 August 2017 at 02:14, Kever Yang 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

[U-Boot] [PATCH] fastboot: mmc: fix pointer size warning in 64bit system

2017-08-07 Thread Kever Yang
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: