mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
mtd: Remove the empty MTDIOC_XIPBASE implmentation
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Gustavo Henrique Nihei
parent
610ac21240
commit
d1687418db
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user