emmc: store_init failed when uboot start from usb [1/1]
PD#SWPL-143539
Problem:
store_init failed when uboot start form usb
Solution:
don't return failed when uboot start from usb
Verify:
s4
Change-Id: I4d27ce8a200cf4e45d6ebe9b0677678cc21975f4
Signed-off-by: Ruixuan.li <ruixuan.li@amlogic.com>
diff --git a/cmd/amlogic/storage.c b/cmd/amlogic/storage.c
index ef128f6..90a5511 100644
--- a/cmd/amlogic/storage.c
+++ b/cmd/amlogic/storage.c
@@ -458,8 +458,8 @@
if (BOOTLOADER_MODE_ADVANCE_INIT) {
ret = storage_post_init();
- if (ret < 0)
- return ret;
+ if (ret)
+ pr_info("storage_post_init failed\n");
}
/*2. Enter the probe of the valid device*/