Re: [PATCH 28/31] tools: mtk_image: split gfh header verification into a new function

2022-08-04 Thread Simon Glass
On Wed, 3 Aug 2022 at 21:40, Weijie Gao wrote: > > The verification code of gfh header for NAND and non-NAND are identical. > It's better to define a individual function to reduce redundancy. > > Signed-off-by: Weijie Gao > --- > tools/mtk_image.c | 51 +++

[PATCH 28/31] tools: mtk_image: split gfh header verification into a new function

2022-08-03 Thread Weijie Gao
The verification code of gfh header for NAND and non-NAND are identical. It's better to define a individual function to reduce redundancy. Signed-off-by: Weijie Gao --- tools/mtk_image.c | 51 +++ 1 file changed, 21 insertions(+), 30 deletions(-) diff