Chinaunix

标题: 请教:nor flash(CFI)的探测代码的问题 [打印本页]

作者: youth_blom    时间: 2006-08-11 16:19
标题: 请教:nor flash(CFI)的探测代码的问题
最近intel nor flash的驱动源码部分,支持CFI,在cfi_probe_chip中发现,对芯片写命令或读数据时,其地址都乘以cfi->interleave和cfi->device_type,
      
     如读QRY时地址为: map->virt+cfi->interleave * cfi->device_type*0x10

想不通为什么这样,请看过的指教一下,谢谢




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2