]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
stm32mp15: Avoid writing symbols in SPL
authorSimon Glass <sjg@chromium.org>
Tue, 18 Jul 2023 13:23:55 +0000 (07:23 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 20 Jul 2023 20:10:58 +0000 (14:10 -0600)
These boards use SPL in a mkimage entry and apparently access the symbol
containing the image position of U-Boot, but put U-Boot in another
image. This means that binman is unable to fill in the symbol correctly
in the SPL binary.

This doesn't matter at present since mkimage doesn't support symbol
writing. But with the upcoming conversion to a section, it will. So add
a property to disable symbol writing.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/dts/stm32mp15-u-boot.dtsi

index d872c6fc5679a4b42d0d24ab3d206f17fd695b00..573dd4d3ed5651c30851f5842e8ac25d800ef24a 100644 (file)
                mkimage {
                        args = "-T stm32image -a 0x2ffc2500 -e 0x2ffc2500";
                        u-boot-spl {
+                               no-write-symbols;
                        };
                };
        };