summaryrefslogtreecommitdiff
path: root/test/boot/bootstd_common.c
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2024-03-04 10:13:01 -0500
committerTom Rini <[email protected]>2024-03-04 10:25:47 -0500
commitbd465ada0e1172910f64feac6035f2344449c381 (patch)
treee749428436685ab25dcfe109309adee6f45cdf39 /test/boot/bootstd_common.c
parentbdbbf1d7b55434973402c390a822490ce6e14994 (diff)
parent68c4d3098b9cf59a20c470df385eb5422fe32bbe (diff)
Merge branch '2024-03-02-assorted-updates' into next
- Assorted MediaTek, ASPEED, xenguest, s5p4418 and qemu-arm fixes - Assorted test fixes/updates/additions. - A few bootstd/related fixes. - Remove common.h from some files - Drop reiserfs - A few other assorted fixes throughout the tree.
Diffstat (limited to 'test/boot/bootstd_common.c')
-rw-r--r--test/boot/bootstd_common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/boot/bootstd_common.c b/test/boot/bootstd_common.c
index e71a2975c53..cc97e255e5c 100644
--- a/test/boot/bootstd_common.c
+++ b/test/boot/bootstd_common.c
@@ -74,6 +74,9 @@ int bootstd_test_check_mmc_hunter(struct unit_test_state *uts)
struct bootstd_priv *std;
uint seq;
+ if (!IS_ENABLED(CONFIG_MMC))
+ return 0;
+
/* get access to the used hunters */
ut_assertok(bootstd_get_priv(&std));