Due to the (seemingly bogus) assumption of a default
CONFIG_SYS_UBOOT_START value we will revert this change for now and
evaluate it again for the next release along with changes to
CONFIG_SYS_UBOOT_START.
This reverts commit
d3e97b53c1f2464f4898226de7d89abf242e4aa8.
Signed-off-by: Tom Rini <trini@konsulko.com>
spl_image->entry_point = image_get_ep(header);
spl_image->size = image_get_data_size(header);
} else {
- spl_image->entry_point = image_get_ep(header);
+ spl_image->entry_point = image_get_load(header);
/* Load including the header */
- spl_image->load_addr = image_get_load(header) -
+ spl_image->load_addr = spl_image->entry_point -
header_size;
spl_image->size = image_get_data_size(header) +
header_size;