1.修改无emmc时,可以进行sd卡升级
This commit is contained in:
parent
630cdaafda
commit
d64dedb7fb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user