public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: "vijay vijay" <vijay_peshkar@hotmail.com>
Cc: linux-mtd@lists.infradead.org, vijay.peshkar@wipro.com
Subject: Re: CFI and driver code for AM29LV320D ..newbie query
Date: Thu, 10 Oct 2002 13:33:08 +0100	[thread overview]
Message-ID: <15664.1034253188@passion.cambridge.redhat.com> (raw)
In-Reply-To: <F8746syVqFbCtqRmaYQ0001d91d@hotmail.com>

vijay_peshkar@hotmail.com said:
>  OK. So a 0x98 write to (0x55 + flash_baseptr) and then a read at
> flash_baseptr should give me all the CFI query related data. Right?.

Er, I mean that calling the 'cfi_probe' function should return you a full
MTD driver for the appropriate chip. You don't need to know the details, 
except that you need to turn on the appropriate CFI probing and AMD command 
set code in your kernel.

> Sorry for the dumb question. My second day at development on linux ;)
> Where do I get the code for the standard linux driver for flash.

See drivers/mtd/maps/physmap.c and configure it with the appropriate 
parameters for how the flash is wired up on your boards.

--
dwmw2

  reply	other threads:[~2002-10-10 12:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-10 12:29 CFI and driver code for AM29LV320D ..newbie query vijay vijay
2002-10-10 12:33 ` David Woodhouse [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-10-10 13:29 vijay vijay
2002-10-10 13:44 ` David Woodhouse
2002-10-10 11:13 vijay vijay
2002-10-10 11:59 ` David Woodhouse

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=15664.1034253188@passion.cambridge.redhat.com \
    --to=dwmw2@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=vijay.peshkar@wipro.com \
    --cc=vijay_peshkar@hotmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox