From e07f04bcbad27864652e935a98996bbf4fa06fe9 Mon Sep 17 00:00:00 2001 From: payton Date: Mon, 5 Feb 2024 17:01:01 +0800 Subject: [PATCH] =?UTF-8?q?1.emmc=E6=8A=A5=E9=94=99log=E5=8A=A0=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BSP/u-boot/board/novatek/common/nvt_ivot_fw_update.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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;