commit | 687e10ec49eb0231c9b2b59ee86bbefc0b86e6e1 | [log] [tgz] |
---|---|---|
author | Weijie Gao <weijie.gao@mediatek.com> | Fri Sep 09 20:00:18 2022 +0800 |
committer | Tom Rini <trini@konsulko.com> | Fri Sep 23 15:09:16 2022 -0400 |
tree | c4f51cfb4053b24199fe0eeab6c45fd1da392162 | |
parent | 6136a232637fb141a38c0432b8786d19c8e8797f [diff] |
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>