]> git.baikalelectronics.ru Git - uboot.git/commit
tools: mtk_image: split the code of generating NAND header into a new file
authorWeijie Gao <weijie.gao@mediatek.com>
Fri, 9 Sep 2022 12:00:21 +0000 (20:00 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2022 19:09:16 +0000 (15:09 -0400)
commite4fa1a24b702e579e07369174182e741f6805665
tree923911ac82276a2369c0d3b5d19112b7f24b09cf
parent917c9f6f6e68eec913cd1fec678d09ff2d453301
tools: mtk_image: split the code of generating NAND header into a new file

The predefined NAND headers take too much spaces in the mtk_image.c.
Moving them into a new file can significantly improve the readability of
both mtk_image.c and the new mtk_nand_headers.c.

This is a preparation for adding more NAND headers.

Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
tools/Makefile
tools/mtk_image.c
tools/mtk_image.h
tools/mtk_nand_headers.c [new file with mode: 0644]
tools/mtk_nand_headers.h [new file with mode: 0644]