Skip to content
Snippets Groups Projects
Commit 7ef4c45c authored by Gong Qianyu's avatar Gong Qianyu Committed by Tom Rini
Browse files

spl: Fix compile warning for arm64


Make the cast explicit for "warning: cast to pointer from integer of different size".

Signed-off-by: default avatarGong Qianyu <Qianyu.Gong@freescale.com>
parent e86c9530
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ static int mmc_load_image_raw_sector(struct mmc *mmc, unsigned long sector) ...@@ -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 */ /* Read the header too to avoid extra memcpy */
count = mmc->block_dev.block_read(0, sector, image_size_sectors, 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, debug("read %x sectors to %x\n", image_size_sectors,
spl_image.load_addr); spl_image.load_addr);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment