mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
mtd: Replace MTDIOC_XIPBASE with BIOC_XIPBASE
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
177e1ced3f
commit
6b6c11f0ad
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user