hc
2023-11-06 36f0949ef9854b82a9a3154d970da4e3b8d12a61
u-boot/cmd/mmc.c
....@@ -129,6 +129,7 @@
129129 static int do_mmc_test_secure_storage(cmd_tbl_t *cmdtp,
130130 int flag, int argc, char * const argv[])
131131 {
132
+#ifdef CONFIG_MMC
132133 struct mmc *mmc;
133134
134135 if (curr_device < 0) {
....@@ -143,7 +144,8 @@
143144
144145 mmc = init_mmc_device(curr_device, false);
145146 if (!mmc)
146
- return CMD_RET_FAILURE;
147
+ printf("No mmc device\n");
148
+#endif
147149
148150 int i, count = 100;
149151