Re: [U-Boot] NAND flash driver for Samsung K9F1G08

2008-10-03 Thread Roman Mashak
Hello 2008/10/2 Scott Wood <[EMAIL PROTECTED]>: > On Wed, Oct 01, 2008 at 06:04:02PM -0700, Roman Mashak wrote: >> As far as I understand not all manufacturers adhere to CFI standards, >> so this is flash chip's problem rather then board itself. >> CFI is for both NAND and NOR flash devices (even

Re: [U-Boot] NAND flash driver for Samsung K9F1G08

2008-10-02 Thread Scott Wood
On Wed, Oct 01, 2008 at 06:04:02PM -0700, Roman Mashak wrote: > As far as I understand not all manufacturers adhere to CFI standards, > so this is flash chip's problem rather then board itself. > CFI is for both NAND and NOR flash devices (even though CFI stands for > Common _Flash memory_ Interfac

Re: [U-Boot] NAND flash driver for Samsung K9F1G08

2008-10-01 Thread Roman Mashak
Hello 2008/10/1 Wolfgang Denk <[EMAIL PROTECTED]>: > Not almost all boards to that. Only some 200 out of more than 500 do, > i. e. less than 40%, and these are mostly old boards that have not > been adapted to use the CFI driver yet (with very few exceptions > where some specific issue pre

Re: [U-Boot] NAND flash driver for Samsung K9F1G08

2008-10-01 Thread Wolfgang Denk
Dear Roman, In message <[EMAIL PROTECTED]> you wrote: > > Okay. There is another thing confusing me is - almost all ports > implement board specific support of flash in > $(uboot)/board/board_name/flash.c or $(uboot)/board/board_name/nand.c > (NAND specific). Not almost all boards to that. Only

Re: [U-Boot] NAND flash driver for Samsung K9F1G08

2008-10-01 Thread Roman Mashak
Hello 2008/9/30 Stefan Roese <[EMAIL PROTECTED]>: [skip] >> To make things more clear: NAND flash Samsung K9F1G08U is defined in >> both $(uboot)/drivers/mtd/nand/nand_ids.c and >> $(uboot)/include/linux/mtd/nand_ids.h, latter is included with >> CFG_NAND_LEGACY defined. It confuses me, I don't u

Re: [U-Boot] NAND flash driver for Samsung K9F1G08

2008-09-30 Thread Stefan Roese
On Wednesday 01 October 2008, Roman Mashak wrote: > > 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. > > After some investigations I see that $(uboot)/drivers/mtd/nand/na

Re: [U-Boot] NAND flash driver for Samsung K9F1G08

2008-09-30 Thread Roman Mashak
Hello 2008/9/30 Roman Mashak <[EMAIL PROTECTED]>: > 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. After some investigations I see that $(uboot)/drivers/mtd/nand/nand.c is

[U-Boot] NAND flash driver for Samsung K9F1G08

2008-09-30 Thread Roman Mashak
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 numbe