]> git.baikalelectronics.ru Git - uboot.git/commit
Makefile: Reduce usage of custom mpc85xx u-boot.bin target
authorPali Rohár <pali@kernel.org>
Wed, 3 Aug 2022 11:24:42 +0000 (13:24 +0200)
committerMarek Behún <kabel@kernel.org>
Fri, 16 Sep 2022 15:39:42 +0000 (17:39 +0200)
commit85c6fde4742de15618690ccac4103326bd6aaf4e
tree08eaaf58f69eff8302173c35606a77422aadb653
parent69559c14bede6b24fd278b2885f001a0f59b4a6e
Makefile: Reduce usage of custom mpc85xx u-boot.bin target

Building of final u-boot.bin binary for mpc85xx via binman is needed only
when inserting DTB binary in the middle of the u-boot ELF binary (before
.bootpg and .resetvec ELF sections).

These requirements are met when CONFIG_MPC85XX_HAVE_RESET_VECTOR is enabled
(= generating .bootpg/.resetvec sections) and CONFIG_OF_SEPARATE is enabled
(= inserting DTB binary).

So in all other cases use standard build procedure instead of custom
mpc85xx u-boot.bin Makefile target via binman.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marek Behún <kabel@kernel.org>
Makefile
arch/powerpc/Kconfig
arch/powerpc/dts/u-boot.dtsi