mtd: Replace MTDIOC_XIPBASE with BIOC_XIPBASE

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2021-08-11 15:46:01 +08:00
committed by Alan Carvalho de Assis
parent 177e1ced3f
commit 6b6c11f0ad
13 changed files with 14 additions and 65 deletions
+2 -2
View File
@@ -349,8 +349,8 @@ static int lc823450_ioctl(FAR struct mtd_dev_s *dev, int cmd,
geo->erasesize, geo->neraseblocks);
break;
case MTDIOC_XIPBASE:
finfo("MTDIOC_XIPBASE\n");
case BIOC_XIPBASE:
finfo("BIOC_XIPBASE\n");
ppv = (FAR void**)arg;
if (ppv)
{
+1 -1
View File
@@ -394,7 +394,7 @@ static int tiva_ioctl(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg)
}
break;
case MTDIOC_XIPBASE:
case BIOC_XIPBASE:
{
FAR void **ppv = (FAR void**)arg;