一段小代码
if(ioctl(fd, MEMGETREGIONCOUNT, ®count) == 0)
{
PFUNC("MEMGETREGIONCOUNT regcount = [%d]\n", regcount);
if(regcount == 0)
{
res = non_region_erase(fd, start, count, unlock);
}
else
{
res = region_erase(fd, start, count, unlock, regcount);
}
}
在网上看到源码,所这样可以判断什么,这段代码是对nand操作的;
请问 MEMGETREGIONCOUNT 是什么意思?找了很多,都没有理解