1
0
Fork 0
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:
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

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;

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;

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);

View file

@ -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;

View file

@ -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;

View file

@ -822,7 +822,6 @@ static int at45db_ioctl(FAR struct mtd_dev_s *mtd,
}
break;
case MTDIOC_XIPBASE:
default:
ret = -ENOTTY; /* Bad command */
break;

View file

@ -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 */

View file

@ -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;

View file

@ -964,7 +964,6 @@ static int is25xp_ioctl(FAR struct mtd_dev_s *dev,
}
break;
case MTDIOC_XIPBASE:
default:
ret = -ENOTTY; /* Bad command */
break;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;