diff --git a/BSP/u-boot/board/novatek/common/nvt_ivot_fw_update.c b/BSP/u-boot/board/novatek/common/nvt_ivot_fw_update.c index 8ea4751aa..69479f489 100755 --- a/BSP/u-boot/board/novatek/common/nvt_ivot_fw_update.c +++ b/BSP/u-boot/board/novatek/common/nvt_ivot_fw_update.c @@ -2353,10 +2353,10 @@ int nvt_fw_update(bool firm_upd_firm) extern struct mmc *init_mmc_device(int dev, bool force_init); struct mmc *mmc; mmc = init_mmc_device(curr_device, false); - // if (!mmc) { - // printf("Get eMMc device failed\n\r"); - // return ERR_NVT_UPDATE_OPENFAILED; - // } + if (!mmc) { + printf("Get eMMc device failed\n\r"); + // return ERR_NVT_UPDATE_OPENFAILED; + } typedef int (*set_blk_dev_cb)(void); set_blk_dev_cb nvt_fs_set_blk_dev_cb = NULL;