arm: imx: Fix i.MX8 container load address
We should load images to their destination, not their entry point.
Fixes: 7b86cd4274
("imx8: support parsing i.MX8 Container file")
Signed-off-by: Sean Anderson <seanga2@gmail.com>
This commit is contained in:
parent
5264413246
commit
5c09c25873
@ -45,7 +45,7 @@ static struct boot_img_t *read_auth_image(struct spl_image_info *spl_image,
|
||||
debug("%s: container: %p sector: %lu sectors: %u\n", __func__,
|
||||
container, sector, sectors);
|
||||
if (info->read(info, sector, sectors,
|
||||
(void *)images[image_index].entry) != sectors) {
|
||||
(void *)images[image_index].dst) != sectors) {
|
||||
printf("%s wrong\n", __func__);
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user