mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-24 20:54:24 +08:00
spl: Fix compile warning for arm64
Make the cast explicit for "warning: cast to pointer from integer of different size". Signed-off-by: Gong Qianyu <Qianyu.Gong@freescale.com>
This commit is contained in:
parent
e86c953059
commit
7ef4c45c6e
@ -44,7 +44,7 @@ static int mmc_load_image_raw_sector(struct mmc *mmc, unsigned long sector)
|
||||
|
||||
/* Read the header too to avoid extra memcpy */
|
||||
count = mmc->block_dev.block_read(0, sector, image_size_sectors,
|
||||
(void *)spl_image.load_addr);
|
||||
(void *)(ulong)spl_image.load_addr);
|
||||
debug("read %x sectors to %x\n", image_size_sectors,
|
||||
spl_image.load_addr);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user