Re: [PATCH v2 29/32] tools: mtk_image: split gfh header verification into a new function

2022-08-31 Thread Daniel Golle
On Wed, Aug 31, 2022 at 07:05:22PM +0800, 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. Tested ARM Trusted Firmware-A bl2 images generated for Bananapi R64 (MT7622; eMMC, SDMMC, SPI-N

[PATCH v2 29/32] tools: mtk_image: split gfh header verification into a new function

2022-08-31 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. Reviewed-by: Simon Glass Signed-off-by: Weijie Gao --- v2 changes: none --- tools/mtk_image.c | 51 +++ 1 file c