All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] NAND flash driver for Samsung K9F1G08
@ 2008-10-01  1:40 Roman Mashak
  2008-10-01  5:31 ` Roman Mashak
  0 siblings, 1 reply; 9+ messages in thread
From: Roman Mashak @ 2008-10-01  1:40 UTC (permalink / raw)
  To: u-boot

Hello

I'm using 128Mb Samsung NAND flash K9F1G08 on our custom ARM-based
board. Flash ID is in $(UBOOT)/include/linux/mtd/nand_ids.h
Seems this chip is not CFI compliant (at least datasheet says nothing
of it), so the use of CFI driver falls away.

The problem I faced is how to calculate max number of sectors on a
flash chip, i.e. CFG_MAX_FLASH_SECT parameter. Does CFG_MAX_FLASH_SECT
mean total max number of sectors on the device, or max number of
sectors on a page? If I divide total flash size on bytes by sector
size I get weird numbers, obviously I'm on a wrong way.

Will appreciate any comments.
Thanks.

-- 
Roman Mashak

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

end of thread, other threads:[~2008-10-04  3:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-01  1:40 [U-Boot] NAND flash driver for Samsung K9F1G08 Roman Mashak
2008-10-01  5:31 ` Roman Mashak
2008-10-01  6:07   ` Stefan Roese
2008-10-01  8:11     ` Roman Mashak
2008-10-01  9:13       ` Wolfgang Denk
2008-10-02  1:04         ` Roman Mashak
2008-10-02 16:11           ` Scott Wood
2008-10-04  3:59             ` Roman Mashak
2008-10-01 16:17     ` [U-Boot] NAND legacy flash removal Scott Wood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.