]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: Bring back setting mon_len in global_data
authorSimon Glass <sjg@chromium.org>
Sun, 15 Jan 2023 21:15:40 +0000 (14:15 -0700)
committerTom Rini <trini@konsulko.com>
Sat, 11 Feb 2023 17:22:34 +0000 (12:22 -0500)
commit2c88d5e110517ba7565b33eb8bfabb0ae0885eab
tree9ca3702ccedd72e59f6cb1a744ab0455c6b05fdf
parent41cd6fab03af8f1d3fae6ee04937583ab7884efa
sandbox: Bring back setting mon_len in global_data

This change was made for the benefit of RISC-V but broke other
architectures also. In particular, tracing cannot work without this value.
Add it back for architectures which support it.

Fixes: 3c9fc23c443 ("sandbox: don't refer to symbol _init")
Signed-off-by: Simon Glass <sjg@chromium.org>
common/board_f.c