Re: [U-Boot] [PATCH 3/6] SPL: Add XIP booting support

2017-05-22 Thread Vikas MANOCHA
Hi Alex, > -Original Message- > From: Alexandru Gagniuc [mailto:ale...@adaptrum.com] > Sent: Monday, May 22, 2017 10:37 AM > To: Vikas MANOCHA ; u-boot@lists.denx.de > Cc: Patrick DELAUNAY ; Patrice CHOTARD > ; Christophe KERELLO > ; Christophe PRIOUZEAU > ; Alexandre TORGUE > ; Albert A

Re: [U-Boot] [PATCH 3/6] SPL: Add XIP booting support

2017-05-22 Thread Alexandru Gagniuc
On 05/22/2017 09:55 AM, Vikas MANOCHA wrote: Hi Alex, Hi [snip] diff --git a/common/spl/spl_xip.c b/common/spl/spl_xip.c new file mode 100644 index 000..50e2f34 --- /dev/null +++ b/common/spl/spl_xip.c @@ -0,0 +1,31 @@ +/* + * Copyright (C) 2017 Vikas Manocha + * + * SPDX-License-Iden

Re: [U-Boot] [PATCH 3/6] SPL: Add XIP booting support

2017-05-22 Thread Vikas MANOCHA
Hi Alex, > -Original Message- > From: Alexandru Gagniuc [mailto:ale...@adaptrum.com] > Sent: Thursday, May 18, 2017 12:51 PM > To: Vikas MANOCHA ; u-boot@lists.denx.de > Cc: Patrick DELAUNAY ; Patrice CHOTARD > ; Christophe KERELLO > ; Christophe PRIOUZEAU > ; Alexandre TORGUE > ; Albert

Re: [U-Boot] [PATCH 3/6] SPL: Add XIP booting support

2017-05-18 Thread Alexandru Gagniuc
On 05/18/2017 11:49 AM, Vikas Manocha wrote: Enable support for XIP (execute in place) of U-Boot or kernel image. There is no need to copy image from flash to ram if flash supports execute in place. Awesome. I've had to hack u-boot before to achieve exactly this. It's nice to have a proper imp

[U-Boot] [PATCH 3/6] SPL: Add XIP booting support

2017-05-18 Thread Vikas Manocha
Enable support for XIP (execute in place) of U-Boot or kernel image. There is no need to copy image from flash to ram if flash supports execute in place. Signed-off-by: Vikas Manocha --- arch/arm/include/asm/spl.h | 1 + board/st/stm32f746-disco/stm32f746-disco.c | 1 + common/