2008-01-14 10:02:47 a clarification on bf5xx_nand.c file
Andrea Federico (UNITED STATES)
Message: 49554 Hi bfin user,
I look in the svn trunk and I found this file:
trunk/linux-2.6.x/drivers/mtd/nand/bf5xx_nand.c
The file name is bf5XX and the comment inside this file is
...
"Blackfin BF5xx on-chip NAND flash controler driver"
...
so I suppose this file is used for example by bf537 (5xx) processor but
the compilation rule in this file:
trunk/linux-2.6.x/drivers/mtd/nand/Kconfig
is this:
-----------------------------------------------------------------------------------
config MTD_NAND_BF5XX
tristate "Blackfin on-chip NAND Flash Controller driver"
depends on (BF54x || BF52x) && MTD_NAND
.......
-----------------------------------------------------------------------------------
can you help me to understand why the bf537 is excluded?
Thank you
Andrea
QuoteReplyEditDelete
2008-01-14 10:15:30 Re: a clarification on bf5xx_nand.c file
Michael Hennerich (GERMANY)
Message: 49555 bf5xx_nand.c is only for Blackfin derivatives with on-chip NAND controller (NFC).
for BF533/2/1 BF537/6/4 and BF561 use this one :
config MTD_NAND_BFIN
tristate "NAND Flash device for BF537 STAMP board"
depends on BLACKFIN && MTD_NAND && MTD_PARTITIONS
help
This enables the driver for the NAND flash ST-NAND123W3A
for Blackfin Processors
config BFIN_NAND_BASE
hex "NAND Flash Base Address"
depends on MTD_NAND_BFIN
default 0x20212000
help
NAND Flash Base Address
config BFIN_NAND_CLE
int "NAND Flash Command Latch Enable (CLE) Address strobe A[x]"
depends on MTD_NAND_BFIN
range 1 19
default 2
help
NAND Flash Command Latch Enable (CLE) Address strobe A[x]
config BFIN_NAND_ALE
int "NAND Flash Address Latch Enable (ALE) Address strobe A[x]"
depends on MTD_NAND_BFIN
range 1 19
default 1
help
NAND Flash Address Latch Enable (ALE) Address strobe A[x]
config BFIN_NAND_READY
int "NAND Flash Ready Strobe PF[x]"
depends on MTD_NAND_BFIN
range 0 15 if (BF533 || BF532 || BF531)
range 0 47 if (BF534 || BF536 || BF537)
range 0 47 if BF561
default 3
help
NAND Flash Ready Strobe PF[x]
-Michael
QuoteReplyEditDelete
2008-01-14 10:24:23 Re: a clarification on bf5xx_nand.c file
Andrea Federico (UNITED STATES)
Message: 49556 Michael:
Thank you for your reply.