public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Intel Strataflash
@ 2003-01-29 16:14 Stephane List
  2003-01-29 22:36 ` David Woodhouse
  0 siblings, 1 reply; 5+ messages in thread
From: Stephane List @ 2003-01-29 16:14 UTC (permalink / raw)
  To: linux-mtd

Hi,

I'm using a 2.4.17 linux kernel for an embedded product.
On my card I've got 4 Intel Strataflash 16 bits / 16 Mbytes.

Flash 1 : 
-Chip Select : 0
-Data Bus connected on D0-D15 of my CPU

Flash 2 :
-Chip Select : 0
-Data Bus connected on D16-D31 of my CPU

Flash 3 and 4, same thing with Chip Select 1.


When I load the module I've got the following message :
"genprobe_new_chip called with unsupported buswidth 2"

Could you tell me if my .config is OK ?
Thanks

PS : I couldn't compile my kernel with the CVS code...

My .config has the following options :
#
# RAM/ROM/Flash chip drivers
#
CONFIG_MTD_CFI=m
# CONFIG_MTD_JEDECPROBE is not set
CONFIG_MTD_GEN_PROBE=m
CONFIG_MTD_CFI_ADV_OPTIONS=y
CONFIG_MTD_CFI_NOSWAP=y
# CONFIG_MTD_CFI_BE_BYTE_SWAP is not set
# CONFIG_MTD_CFI_LE_BYTE_SWAP is not set
CONFIG_MTD_CFI_GEOMETRY=y
# CONFIG_MTD_CFI_B1 is not set
# CONFIG_MTD_CFI_B2 is not set

#Because the data bus of the CPU is 4 bytes
CONFIG_MTD_CFI_B4=y

# CONFIG_MTD_CFI_B8 is not set
# CONFIG_MTD_CFI_I1 is not set

#Because There are 2 flashs connected on the same Data bus.
CONFIG_MTD_CFI_I2=y

# CONFIG_MTD_CFI_I4 is not set

#Because it's an Intel Strataflash
CONFIG_MTD_CFI_INTELEXT=m

# CONFIG_MTD_CFI_AMDSTD is not set
# CONFIG_MTD_RAM is not set
CONFIG_MTD_ROM=m
# CONFIG_MTD_ABSENT is not set
# CONFIG_MTD_OBSOLETE_CHIPS is not set
# CONFIG_MTD_AMDSTD is not set
# CONFIG_MTD_SHARP is not set
# CONFIG_MTD_JEDEC is not set

#
# Mapping drivers for chip access
#
CONFIG_MTD_PHYSMAP=m
CONFIG_MTD_PHYSMAP_START=10000000
CONFIG_MTD_PHYSMAP_LEN=1FFFFFF

#Because my flash chip data bus is 2 bytes width
CONFIG_MTD_PHYSMAP_BUSWIDTH=2

# CONFIG_MTD_CSTM_MIPS_IXX is not set
# CONFIG_MTD_PB1000 is not set
# CONFIG_MTD_PB1500 is not set
# CONFIG_MTD_OCELOT is not set
# CONFIG_MTD_PCI is not set


-- 
Stephane List
http://slist.lilotux.net

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

end of thread, other threads:[~2003-01-30 10:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-29 16:14 Intel Strataflash Stephane List
2003-01-29 22:36 ` David Woodhouse
2003-01-30  9:46   ` Stephane List
2003-01-30 11:00     ` Raphael Hertzog
2003-01-30 10:18   ` Stephane List

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