commit | e379f596cb9cefc2c1c076f9711159d941dbdee3 | [log] [tgz] |
---|---|---|
author | tomas.melin@vaisala.com <tomas.melin@vaisala.com> | Wed Nov 16 12:54:39 2016 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon Nov 28 15:10:31 2016 -0500 |
tree | 93c23491468dfb0f8d5582f95f51a5b5bd7542d6 | |
parent | 2b6dee120fdd8a982c05121c82fcf019eb0be660 [diff] |
spl: add check for FIT-header when loading image 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 <tomas.melin@vaisala.com> Acked-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>