mediatek: Makefile: Drop explicit targets built by binman
authorSimon Glass <sjg@chromium.org>
Sun, 19 Jul 2020 19:56:07 +0000 (13:56 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 29 Jul 2020 01:30:39 +0000 (19:30 -0600)
commite999bea485b3bec03b8135d78e670fea20201931
tree3bbe556912fec4628ecf553d0cab1134bb2c98a9
parentbdca932f5bd9db85a4d66454a2399be8ffa96461
mediatek: Makefile: Drop explicit targets built by binman

On mediatek various files that need to be created by binman. It does not
make sense to enumerate these in the Makefile. They are described in the
configuration (devicetree) for each board and we can simply run binman
(always) to generate them.

This avoid sprinkling the Makefile with arch-specific code.

Also update the binman definition so that idbloader.img is only needed
when SPL is actually being used.

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Makefile
arch/arm/dts/rockchip-u-boot.dtsi