forked from nuttx/nuttx-update
mtd: Remove the empty MTDIOC_XIPBASE implmentation
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
610ac21240
commit
d1687418db
19 changed files with 0 additions and 41 deletions
|
@ -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);
|
||||
|
|
|
@ -643,7 +643,6 @@ static int at24c_ioctl(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg)
|
|||
break;
|
||||
#endif
|
||||
|
||||
case MTDIOC_XIPBASE:
|
||||
default:
|
||||
ret = -ENOTTY; /* Bad command */
|
||||
break;
|
||||
|
|
|
@ -649,7 +649,6 @@ static int at25_ioctl(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg)
|
|||
}
|
||||
break;
|
||||
|
||||
case MTDIOC_XIPBASE:
|
||||
default:
|
||||
ret = -ENOTTY; /* Bad command */
|
||||
break;
|
||||
|
|
|
@ -822,7 +822,6 @@ static int at45db_ioctl(FAR struct mtd_dev_s *mtd,
|
|||
}
|
||||
break;
|
||||
|
||||
case MTDIOC_XIPBASE:
|
||||
default:
|
||||
ret = -ENOTTY; /* Bad command */
|
||||
break;
|
||||
|
|
|
@ -436,10 +436,6 @@ static int filemtd_ioctl(FAR struct mtd_dev_s *dev, int cmd,
|
|||
}
|
||||
break;
|
||||
|
||||
case MTDIOC_XIPBASE:
|
||||
ret = -ENOTTY; /* Bad command */
|
||||
break;
|
||||
|
||||
case MTDIOC_BULKERASE:
|
||||
{
|
||||
/* Erase the entire device */
|
||||
|
|
|
@ -966,7 +966,6 @@ static int gd25_ioctl(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg)
|
|||
}
|
||||
break;
|
||||
|
||||
case MTDIOC_XIPBASE:
|
||||
default:
|
||||
ret = -ENOTTY;
|
||||
break;
|
||||
|
|
|
@ -964,7 +964,6 @@ static int is25xp_ioctl(FAR struct mtd_dev_s *dev,
|
|||
}
|
||||
break;
|
||||
|
||||
case MTDIOC_XIPBASE:
|
||||
default:
|
||||
ret = -ENOTTY; /* Bad command */
|
||||
break;
|
||||
|
|
|
@ -1046,7 +1046,6 @@ static int m25p_ioctl(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg)
|
|||
}
|
||||
break;
|
||||
|
||||
case MTDIOC_XIPBASE:
|
||||
default:
|
||||
ret = -ENOTTY; /* Bad command */
|
||||
break;
|
||||
|
|
|
@ -814,7 +814,6 @@ static int nand_ioctl(struct mtd_dev_s *dev, int cmd, unsigned long arg)
|
|||
}
|
||||
break;
|
||||
|
||||
case MTDIOC_XIPBASE:
|
||||
default:
|
||||
ret = -ENOTTY; /* Bad command */
|
||||
break;
|
||||
|
|
|
@ -317,7 +317,6 @@ static int mtd_ioctl(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg)
|
|||
}
|
||||
break;
|
||||
|
||||
case MTDIOC_XIPBASE:
|
||||
default:
|
||||
ret = -ENOTTY; /* Bad command */
|
||||
break;
|
||||
|
|
|
@ -1102,7 +1102,6 @@ static int mx25l_ioctl(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg)
|
|||
}
|
||||
break;
|
||||
|
||||
case MTDIOC_XIPBASE:
|
||||
default:
|
||||
ret = -ENOTTY; /* Bad command */
|
||||
break;
|
||||
|
|
|
@ -973,7 +973,6 @@ static int ramtron_ioctl(FAR struct mtd_dev_s *dev,
|
|||
break;
|
||||
#endif
|
||||
|
||||
case MTDIOC_XIPBASE:
|
||||
default:
|
||||
ret = -ENOTTY; /* Bad command */
|
||||
break;
|
||||
|
|
|
@ -566,7 +566,6 @@ static int s512_ioctl(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg)
|
|||
}
|
||||
break;
|
||||
|
||||
case MTDIOC_XIPBASE:
|
||||
default:
|
||||
ret = -ENOTTY; /* Bad command */
|
||||
break;
|
||||
|
|
|
@ -1214,7 +1214,6 @@ static int sst25_ioctl(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg)
|
|||
}
|
||||
break;
|
||||
|
||||
case MTDIOC_XIPBASE:
|
||||
default:
|
||||
ret = -ENOTTY; /* Bad command */
|
||||
break;
|
||||
|
|
|
@ -903,7 +903,6 @@ static int sst25xx_ioctl(FAR struct mtd_dev_s *dev, int cmd,
|
|||
}
|
||||
break;
|
||||
|
||||
case MTDIOC_XIPBASE:
|
||||
default:
|
||||
ret = -ENOTTY; /* Bad command */
|
||||
break;
|
||||
|
|
|
@ -908,7 +908,6 @@ static int sst26_ioctl(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg)
|
|||
}
|
||||
break;
|
||||
|
||||
case MTDIOC_XIPBASE:
|
||||
default:
|
||||
ret = -ENOTTY; /* Bad command */
|
||||
break;
|
||||
|
|
|
@ -1342,7 +1342,6 @@ static int w25_ioctl(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg)
|
|||
}
|
||||
break;
|
||||
|
||||
case MTDIOC_XIPBASE:
|
||||
default:
|
||||
ret = -ENOTTY; /* Bad command */
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue