]> git.baikalelectronics.ru Git - uboot.git/commit
Makefile: Build final mpc85xx non-SPL image in standard file u-boot.bin
authorPali Rohár <pali@kernel.org>
Mon, 1 Aug 2022 15:42:20 +0000 (17:42 +0200)
committerMarek Behún <kabel@kernel.org>
Fri, 16 Sep 2022 15:39:41 +0000 (17:39 +0200)
commit69559c14bede6b24fd278b2885f001a0f59b4a6e
tree01fb932dbada08960af53db5b3db4b7d56c237b5
parentb707c874e0fa7b5e75f36d6f1d40a76d6bb0e3b8
Makefile: Build final mpc85xx non-SPL image in standard file u-boot.bin

Currently Makefile produces final mpc85xx image when SPL is not used in
custom file u-boot-with-dtb.bin. It is quite confusing name as build
process produce also intermediate file standard file u-boot-dtb.bin (which
is just intermediate and not bootable). Other platforms use u-boot.bin
(UBOOT_BIN) as standard name for final bootable raw image.

So change Makefile rules and binman to produce final bootable file for
mpc85xx also into file u-boot.bin. There is just need for mpc85xx to not
define default rule for u-boot.bin then instruct binman (via DTS file) to
store final image into u-boot.bin (instead of u-boot-with-dtb.bin) and
finally rename target u-boot-with-dtb.bin to u-boot.bin.

With this change are also removed custom Makefile hacks for mpc85xx that it
produced non-standard output file. And also updated documentation.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Marek Behún <kabel@kernel.org>
Makefile
arch/powerpc/dts/kmcent2-u-boot.dtsi
arch/powerpc/dts/u-boot.dtsi
board/freescale/p1_p2_rdb_pc/README
board/freescale/p2041rdb/README
board/freescale/t102xrdb/README
board/freescale/t104xrdb/README
board/freescale/t208xqds/README
board/freescale/t208xrdb/README