All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephane List <stephane.list@lilotux.net>
To: linux-mtd <linux-mtd@lists.infradead.org>
Subject: Intel Strataflash
Date: Wed, 29 Jan 2003 17:14:57 +0100	[thread overview]
Message-ID: <20030129161457.GA9083@lilotux.net> (raw)

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

             reply	other threads:[~2003-01-29 15:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-29 16:14 Stephane List [this message]
2003-01-29 22:36 ` Intel Strataflash David Woodhouse
2003-01-30  9:46   ` Stephane List
2003-01-30 11:00     ` Raphael Hertzog
2003-01-30 10:18   ` Stephane List

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030129161457.GA9083@lilotux.net \
    --to=stephane.list@lilotux.net \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.