arm: mediatek: build u-boot-mtk.bin only if needed
authorWeijie Gao <weijie.gao@mediatek.com>
Thu, 13 Feb 2025 09:00:34 +0000 (17:00 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 21 Feb 2025 17:36:37 +0000 (11:36 -0600)
commitf777cb8815baf1f002108cc8ecec525aa13b4f73
tree9d88c33069d42337df179c387121eed2e28b6c4c
parent7fa38ae6c778eabe6ad055ec40402b1eab61a3a5
arm: mediatek: build u-boot-mtk.bin only if needed

Not all MediaTek platforms needs u-boot-mtk.bin.

This patch will let u-boot generates u-boot-mtk.bin only if
CONFIG_MTK_BROM_HEADER_INFO is not empty.

Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Makefile
arch/arm/mach-mediatek/Kconfig