]> git.baikalelectronics.ru Git - uboot.git/commit
powerpc: mpc85xx: Fix CONFIG_OF_EMBED support for NOR booting
authorPali Rohár <pali@kernel.org>
Mon, 2 May 2022 16:36:39 +0000 (18:36 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 23 May 2022 13:33:10 +0000 (09:33 -0400)
commit108d623ba29dda75478e4b9e7283584873f3024b
tree1e09e8a690ef2e6f3dd532fc9e7ac131c35ed6d3
parent41a9455b648f713dc434910e155b635c9e7ab047
powerpc: mpc85xx: Fix CONFIG_OF_EMBED support for NOR booting

mpc85xx NOR binary contains also reset vector and therefore option
CONFIG_MPC85XX_HAVE_RESET_VECTOR must be defined.

When build system uses binman, it takes care of constructing final image
which consist of u-boot-without-reset-vector, DTB and reset-vector.

CONFIG_OF_EMBED does not use binman, there is no external DTB and Makefile
produce directly final u-boot.bin binary.

So in this case mpc85xx reset vector must not be stripped from the final
u-boot.bin binary. Fix it.

Signed-off-by: Pali Rohár <pali@kernel.org>
Makefile