hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
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