On Mon, Jun 04, 2018 at 06:27:32PM +0200, Marek Vasut wrote: > On 06/04/2018 02:59 AM, Tom Rini wrote: > > On Sat, Jun 02, 2018 at 11:36:00PM +0200, Marek Vasut wrote: > > > >> Add option to the booti_setup() which indicates to it that the caller > >> requires the image to be relocated to the beginning of the RAM and > >> that the information whether the image can be located anywhere in RAM > >> at 2 MiB aligned boundary or not is to be ignored. This is useful ie. > >> in case the Image is wrapped in another envelope, ie. fitImage and not > >> relocating it but moving it would corrupt the envelope. > >> > >> Signed-off-by: Marek Vasut <[email protected]> > >> Cc: Bin Chen <[email protected]> > >> Cc: Masahiro Yamada <[email protected]> > >> Cc: Tom Rini <[email protected]> > >> --- > >> arch/arm/lib/image.c | 5 +++-- > >> cmd/booti.c | 2 +- > >> include/image.h | 4 +++- > >> 3 files changed, 7 insertions(+), 4 deletions(-) > >> > >> diff --git a/arch/arm/lib/image.c b/arch/arm/lib/image.c > >> index 1a04e2b875..08c7b8a54f 100644 > >> --- a/arch/arm/lib/image.c > >> +++ b/arch/arm/lib/image.c > >> @@ -26,7 +26,8 @@ struct Image_header { > >> uint32_t res5; > >> }; > >> > >> -int booti_setup(ulong image, ulong *relocated_addr, ulong *size) > >> +int booti_setup(ulong image, ulong *relocated_addr, ulong *size, > >> + int ignore_ep) > > > > This should be 'bool' not 'int'. > > Which blows up a couple of things, so to keep this patch small, it's int.
Can you elaborate please? Thanks! -- Tom
signature.asc
Description: PGP signature
_______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

