]> git.baikalelectronics.ru Git - uboot.git/commit
tools: mtk_image: split gfh header verification into a new function
authorWeijie Gao <weijie.gao@mediatek.com>
Fri, 9 Sep 2022 12:00:18 +0000 (20:00 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2022 19:09:16 +0000 (15:09 -0400)
commit917c9f6f6e68eec913cd1fec678d09ff2d453301
treec4f51cfb4053b24199fe0eeab6c45fd1da392162
parent7274dce0def2a85d0f8de0dffe3ece791b14b987
tools: mtk_image: split gfh header verification into a new function

The verification code of gfh header for NAND and non-NAND are identical.
It's better to define a individual function to reduce redundancy.

Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
tools/mtk_image.c