mtd: Remove the empty MTDIOC_XIPBASE implmentation

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2021-08-11 14:19:36 +08:00
committed by Gustavo Henrique Nihei
parent 610ac21240
commit d1687418db
19 changed files with 0 additions and 41 deletions
-1
View File
@@ -229,7 +229,6 @@ static int cxd56_ioctl(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg)
}
break;
case MTDIOC_XIPBASE:
default:
ret = -ENOTTY; /* Bad command */
break;
-1
View File
@@ -904,7 +904,6 @@ static int lpc43_ioctl(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg)
}
break;
case MTDIOC_XIPBASE:
default:
ret = -ENOTTY; /* Bad command */
break;
-20
View File
@@ -308,26 +308,6 @@ int bl602_ioctl(FAR struct mtd_dev_s *dev, int cmd,
}
}
break;
case MTDIOC_BULKERASE:
{
/* Erase the entire partition */
finfo("cmd(0x%x) MTDIOC_BULKERASE not support.\n", cmd);
}
break;
case MTDIOC_XIPBASE:
{
/* Get the XIP base of the entire FLASH */
finfo("cmd(0x%x) MTDIOC_XIPBASE not support.\n", cmd);
}
break;
case MTDIOC_FLUSH:
{
finfo("cmd(0x%x) MTDIOC_FLUSH.\n", cmd);
ret = OK;
}
break;
default:
{
finfo("cmd(0x%x) not support.\n", cmd);