public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] about nand_read_byte() interface
@ 2009-10-30  5:20 HeLei
  2009-10-30 16:42 ` Scott Wood
  0 siblings, 1 reply; 3+ messages in thread
From: HeLei @ 2009-10-30  5:20 UTC (permalink / raw)
  To: u-boot


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-11-02  3:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-30  5:20 [U-Boot] about nand_read_byte() interface HeLei
2009-10-30 16:42 ` Scott Wood
2009-11-02  3:07   ` HeLei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox