]> git.baikalelectronics.ru Git - uboot.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)
commit5d7039667f8b30f83cfbfcd5bb8140475efa2889
tree9ca3702ccedd72e59f6cb1a744ab0455c6b05fdf
parentd38b6db6e7b9ec4d000d302773425cdfda4ec817
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: 685b9ec26e6 ("sandbox: don't refer to symbol _init")
Signed-off-by: Simon Glass <sjg@chromium.org>
common/board_f.c