ARM: imx: m53menlo: Do not fail boot on invalid splash screen
authorMarek Vasut <marex@denx.de>
Sat, 30 May 2020 20:44:45 +0000 (22:44 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 8 Jun 2020 08:42:58 +0000 (10:42 +0200)
commitdae6cb8fb757fa13d9f894a67443a7ea7e93c6bc
tree64fa5101596bd401458beb402f070d97421976e5
parent0e06d63d195670f5181958f43216d7106c05357f
ARM: imx: m53menlo: Do not fail boot on invalid splash screen

None of these splash screen loading errors are so critical as to
justify complete failure to boot, so just print error message as
needed and return 0, the boot can very likely continue without
the splash.

Fix a couple of missing free(dst) instances as well.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: NXP i.MX U-Boot Team <uboot-imx@nxp.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
board/menlo/m53menlo/m53menlo.c