fiptool: introduce xzalloc() helper function
We often want to zero out allocated memory.
My main motivation for this commit is to set image::next and
image_desc::next to NULL automatically in the next commit.
Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
Please register or sign in to comment