aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-07-18 07:23:55 -0600
committerSimon Glass <sjg@chromium.org>2023-07-20 14:10:58 -0600
commit8163907adfa00a397928363889ac70a4647f017e (patch)
tree1807e85cf4dc04edfcf9e4508964558041593cc9 /arch
parent4649beae3e3e256d65ceb5d69572327792de495a (diff)
downloadu-boot-8163907adfa00a397928363889ac70a4647f017e.zip
u-boot-8163907adfa00a397928363889ac70a4647f017e.tar.gz
u-boot-8163907adfa00a397928363889ac70a4647f017e.tar.bz2
stm32mp15: Avoid writing symbols in SPL
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/stm32mp15-u-boot.dtsi1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/dts/stm32mp15-u-boot.dtsi b/arch/arm/dts/stm32mp15-u-boot.dtsi
index d872c6f..573dd4d 100644
--- a/arch/arm/dts/stm32mp15-u-boot.dtsi
+++ b/arch/arm/dts/stm32mp15-u-boot.dtsi
@@ -226,6 +226,7 @@
mkimage {
args = "-T stm32image -a 0x2ffc2500 -e 0x2ffc2500";
u-boot-spl {
+ no-write-symbols;
};
};
};