summaryrefslogtreecommitdiff
path: root/common/env_onenand.c
diff options
context:
space:
mode:
authortomas.melin@vaisala.com <tomas.melin@vaisala.com>2016-11-16 12:54:39 +0200
committerTom Rini <trini@konsulko.com>2016-11-28 15:10:31 -0500
commitf72250e7e7e6c31bc21dc177f1ffe1dc8cc88e3f (patch)
tree93c23491468dfb0f8d5582f95f51a5b5bd7542d6 /common/env_onenand.c
parent1deeecb6e41a42d0e24fec30d2bb74c56d7a0d9b (diff)
downloadu-boot-imx-f72250e7e7e6c31bc21dc177f1ffe1dc8cc88e3f.zip
u-boot-imx-f72250e7e7e6c31bc21dc177f1ffe1dc8cc88e3f.tar.gz
u-boot-imx-f72250e7e7e6c31bc21dc177f1ffe1dc8cc88e3f.tar.bz2
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>
Diffstat (limited to 'common/env_onenand.c')
0 files changed, 0 insertions, 0 deletions