Re: [U-Boot] [PATCH] spl: add check for FIT-header when loading image

2016-11-17 Thread Simon Glass
On 16 November 2016 at 03:54, Tomas Melin wrote: > Add check for FDT_MAGIC, otherwise also legacy images will be loaded as > a FIT. With this check in place, the loader works correct both > with legacy and FIT images. > > Signed-off-by: Tomas Melin

Re: [U-Boot] [PATCH] spl: add check for FIT-header when loading image

2016-11-16 Thread Lokesh Vutla
On Wednesday 16 November 2016 04:24 PM, Tomas Melin wrote: > Add check for FDT_MAGIC, otherwise also legacy images will be loaded as > a FIT. With this check in place, the loader works correct both > with legacy and FIT images. > Acked-by: Lokesh Vutla Thanks and regards,

[U-Boot] [PATCH] spl: add check for FIT-header when loading image

2016-11-16 Thread Tomas Melin
Add check for FDT_MAGIC, otherwise also legacy images will be loaded as a FIT. With this check in place, the loader works correct both with legacy and FIT images. Signed-off-by: Tomas Melin --- common/spl/spl_spi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)