* Quad Die NAND Chip with 16Gb
@ 2007-08-31 15:04 Konstantin Kletschke
2007-08-31 15:31 ` Konstantin Kletschke
0 siblings, 1 reply; 3+ messages in thread
From: Konstantin Kletschke @ 2007-08-31 15:04 UTC (permalink / raw)
To: linux-mtd
Hi Folks!
Actually I am trying to pimp our NAND driver which already supports
Micron MT29Fxx Chips very well. The last incarnation of these has quad
die and two CE lines, namely CE1 and CE2.
The driver accesses the first two dies by speaking to a CPLD an whenever
Bit0 is accessed it asserts CE1 of NAND, when Bit1 is accessed it
asserts CE2.
#define CPLD_NAND_CE1 0x01 /* Chip Enable1 to NAND Flash */
#define CPLD_NAND_CE2 0x02 /* Chip Enable2 to NAND Flash */
#define CPLD_NAND_ALE 0x04 /* Address Latch Enable to NAND Flash */
#define CPLD_NAND_CLE 0x08 /* Command Latch Enable to NAND Flash */
#define CPLD_NAND_RYBY 0x20 /* RY/BY# input from NAND Flash */
My question is now (as I am not familiar with the driver), how I
implement this doubling of capacitiy into the driver. Where can I best
do this?
I mean where is the best point of code to kind of double the structures?
has anybody done something like this before?
The driver is at http://www.ludenkalle.de/nand/scb9xxx.c and is adapted
from the other nand drivers there.
May be somebody has some advices for me :-/
Kind regards, Konsti
--
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Quad Die NAND Chip with 16Gb
2007-08-31 15:04 Quad Die NAND Chip with 16Gb Konstantin Kletschke
@ 2007-08-31 15:31 ` Konstantin Kletschke
2007-09-04 10:32 ` Konstantin Kletschke
0 siblings, 1 reply; 3+ messages in thread
From: Konstantin Kletschke @ 2007-08-31 15:31 UTC (permalink / raw)
To: linux-mtd
Replying to myself *mumblegrumble*
I am trying to picture of NAND code and tried this: Why can't I access
the one or the other half of the device?
Platform Setup:
static struct scb9xxx_nand_pdata __initdata nand_pdata = {
.ce1 = CPLD_NAND_CE2,
.ale = CPLD_NAND_ALE,
.cle = CPLD_NAND_CLE,
.rdy = CPLD_NAND_RYBY,
.partition_info = nand_partitions,
};
For .ce1 I put CPLD_NAND_CE1 or CPLD_NAND_CE2 and booting yields in seeing
the one or the other half of the device.
Hardware feels well, so how does stupid konste merge these halfes?
Or could they be accessed as two different mtdblockX as an alternative?
Konsti
--
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Quad Die NAND Chip with 16Gb
2007-08-31 15:31 ` Konstantin Kletschke
@ 2007-09-04 10:32 ` Konstantin Kletschke
0 siblings, 0 replies; 3+ messages in thread
From: Konstantin Kletschke @ 2007-09-04 10:32 UTC (permalink / raw)
To: linux-mtd
Am 2007-08-31 17:31 +0200 schrieb Konstantin Kletschke:
> Hardware feels well, so how does stupid konste merge these halfes?
Meanwhile I found the key in passing nr_chips via platform setup to our
device driver, do an nand_scan(mtd, 2) instead of nand_scan(mtd, 1) and
implement a reasonable select_chip() function.
That was all!
Kind regards, Konsti
--
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-09-04 10:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-31 15:04 Quad Die NAND Chip with 16Gb Konstantin Kletschke
2007-08-31 15:31 ` Konstantin Kletschke
2007-09-04 10:32 ` Konstantin Kletschke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox