From: Tom Rini Date: Mon, 4 Jun 2018 14:01:08 -0400 Subject: [U-Boot] [PATCH 1/2] ARM: image: Add option for ignoring ep bit 3 In-Reply-To: <6f33f3ba-a404-cdd0-8777-1d44eafa7b27@gmail.com> References: <20180602213601.29657-1-marek.vasut+renesas@gmail.com> <20180604005953.GS21194@bill-the-cat.ec.rr.com> <6f33f3ba-a404-cdd0-8777-1d44eafa7b27@gmail.com> Message-ID: <20180604180108.GC21194@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > >> Cc: Bin Chen > >> Cc: Masahiro Yamada > >> Cc: Tom Rini > >> --- > >> 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: