[U-Boot] about nand_read_byte() interface

HeLei leon.he at msn.com
Fri Oct 30 06:20:58 CET 2009


Hi, all
I'm a little confused on NAND read operation. 
According to NAND character, NAND flash is read page by page, which mean's once you read,  at least you should read data with page size (such as 512Bytes)
But the nand_read_byte() is implemented as following:	static u_char nand_read_byte(struct mtd_info *mtd)	{		struct nand_chip *this = mtd->priv;		return readb(this->IO_ADDR_R);	}it seems only one byte is read out.
Anybody can tell what's wrong with my understanding?
ThanksLeon 		 	   		  
_________________________________________________________________
约会说不清地方?来试试微软地图最新msn互动功能!
http://ditu.live.com/?form=TL&swm=1


More information about the U-Boot mailing list