imx: parse-container: Use malloc for container processing
authorNitin Garg <nitin.garg@nxp.com>
Thu, 15 Jun 2023 10:09:22 +0000 (18:09 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 13 Jul 2023 09:29:40 +0000 (11:29 +0200)
commit6e81ca220e03b241ad7a3f5ddf4cba666b4f7446
tree5a617545e16d7426c9855c866bd76bc5b4c8f7e1
parentdc2d49209ea43a9b253bcf1f0dfcff6ea3d72405
imx: parse-container: Use malloc for container processing

If the container has image which conflicts with
spl_get_load_buffer address, there are processing failures.
Use malloc instead of spl_get_load_buffer.

Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Nitin Garg <nitin.garg@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/parse-container.c