aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTom Rini2021-07-07 13:34:42 -0400
committerTom Rini2021-07-07 13:34:42 -0400
commit7e58a3a148fb94e9ce09fb48d0ddd75c20ee7df9 (patch)
tree6a4edadac675129fe33da72bb6aa863b7e57f2e1 /common
parent5b8a83551d339736af92c43524ed0e1ba01122af (diff)
parent880e4768c20b99b1f9a50f35c180f8522dd82c9a (diff)
Merge tag 'dm-pull-6jul21' of https://source.denx.de/u-boot/custodians/u-boot-dm
various minor sandbox improvements
Diffstat (limited to 'common')
-rw-r--r--common/board_f.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/board_f.c b/common/board_f.c
index 203e965799e..c1b8e63e560 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -265,7 +265,9 @@ static int setup_mon_len(void)
{
#if defined(__ARM__) || defined(__MICROBLAZE__)
gd->mon_len = (ulong)&__bss_end - (ulong)_start;
-#elif defined(CONFIG_SANDBOX) || defined(CONFIG_EFI_APP)
+#elif defined(CONFIG_SANDBOX)
+ gd->mon_len = 0;
+#elif defined(CONFIG_EFI_APP)
gd->mon_len = (ulong)&_end - (ulong)_init;
#elif defined(CONFIG_NIOS2) || defined(CONFIG_XTENSA)
gd->mon_len = CONFIG_SYS_MONITOR_LEN;