esp32 & esp32c3: Partition supports BIO cmd

This commit is contained in:
Dong Heng 2021-07-15 20:12:37 +08:00 committed by Xiang Xiao
parent edaa8a0ce9
commit fed7808d80
2 changed files with 0 additions and 12 deletions

View File

@ -497,12 +497,6 @@ static int esp32c3_part_ioctl(struct mtd_dev_s *dev, int cmd,
finfo("INFO: cmd=%d(0x%x) arg=0x%" PRIx32 "\n", cmd, cmd, arg);
if (!_MTDIOCVALID(cmd))
{
ferr("ERROR: cmd=%d(0x%x) is error\n", cmd, cmd);
return -EINVAL;
}
switch (_IOC_NR(cmd))
{
case OTA_IMG_GET_BOOT:

View File

@ -495,12 +495,6 @@ static int esp32_part_ioctl(struct mtd_dev_s *dev, int cmd,
finfo("INFO: cmd=%d(%x) arg=%x\n", cmd, cmd, arg);
if (!_MTDIOCVALID(cmd))
{
finfo("INFO: cmd=%d(%x) is error\n", cmd, cmd);
return -ENOTTY;
}
switch (_IOC_NR(cmd))
{
case OTA_IMG_GET_BOOT: