aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-01-11 09:03:43 +0100
committerTom Rini <trini@konsulko.com>2024-04-12 08:53:31 -0600
commit04fc470cf826cc2fc9a589ce68870b39415f9d12 (patch)
tree8c6db0072d01a46285c21e8b62cd6606852409fc /cmd
parent233c31d7baecd6fdb3e287683019205af02aa221 (diff)
downloadu-boot-04fc470cf826cc2fc9a589ce68870b39415f9d12.tar.gz
sandbox: move sandbox specifics to booti_setup()
Instead of checking a configuration setting in booti_start() adjust the sandbox implementation of booti_setup(). Write a console message when trying to run the booti command on the sandbox indicating that it is not supported. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/booti.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/booti.c b/cmd/booti.c
index 898df0f8896..b9637b3ec3d 100644
--- a/cmd/booti.c
+++ b/cmd/booti.c
@@ -74,7 +74,7 @@ static int booti_start(struct bootm_info *bmi)
unmap_sysmem((void *)ld);
ret = booti_setup(ld, &relocated_addr, &image_size, false);
- if (ret || IS_ENABLED(CONFIG_SANDBOX))
+ if (ret)
return 1;
/* Handle BOOTM_STATE_LOADOS */