tools: imx8image: flatten container header only when creating container
authorPeng Fan <peng.fan@nxp.com>
Mon, 5 Nov 2018 09:53:31 +0000 (09:53 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 6 Nov 2018 10:24:10 +0000 (11:24 +0100)
commit47f7a9def781c46a956366dc40a6674ea0609c59
tree7e521a8fda1a051b17c80c1c98bfee5048c4cbef
parenta9f7f1c58535af68efda0127322de30a33dd31b7
tools: imx8image: flatten container header only when creating container

If there is no CONTAINER entry, there is no need to flatten container
header.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
tools/imx8image.c