[U-Boot] [PATCH] spl: fix entry_point equal to load_addr

Tom Rini trini at konsulko.com
Thu Jan 16 15:49:29 CET 2020


On Thu, Jan 16, 2020 at 03:46:15PM +0100, Giulio Benetti wrote:
> Hi Tom,
> 
> +Stefano B.
> 
> On 1/16/20 3:40 PM, Tom Rini wrote:
> > On Mon, Nov 25, 2019 at 05:18:20PM +0100, Giulio Benetti wrote:
> > 
> > > At the moment entry_point is set to image_get_load(header) that sets it
> > > to "load address" instead of "entry point", assuming entry_point is
> > > equal to load_addr, but it's not true. Then load_addr is set to
> > > "entry_point - header_size", but this is wrong too since load_addr is
> > > not an entry point.
> > > 
> > > So use image_get_ep() for entry_point assignment and image_get_load()
> > > for load_addr assignment.
> > > 
> > > Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
> > 
> > Applied to u-boot/master, thanks!
> 
> It's been already committed by Stefano Babic in imx and you've pulled from
> him.
> 
> Sorry that I've submitted it twice!

Ah, I missed git saying there was nothing to do while applying that part
of the mbox.  No worries.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200116/39f65bf7/attachment.sig>


More information about the U-Boot mailing list