All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Thomasson <stefan.thomasson@possio.com>
To: Linux MTD <linux-mtd@lists.infradead.org>
Subject: Question about protection registers in intel strataflash
Date: Wed, 04 Dec 2002 14:52:02 +0100	[thread overview]
Message-ID: <3DEE0882.75037D4E@possio.com> (raw)

Hi,

The calculation of ofs_factor does not seem to be
correct, at least not for the setup I'm using,
One 28F128j3a in word mode.

ofs_factor = cfi->interleave * cfi->device_type;
interleave is 1 (1 chip) and device_type is 2 (16 bit)

Which will lead to reads from 2*(ProtRegAddr+1) in
my case 0x202 but I know its located at 0x102.

Is the ProtRegAddr supposed to be a byte address
which need to be multiplied or is it a word address?
In 28f128j3a manual tables 20 and 21 it looks like
the same address should be used.

So I think only the cfi->interleave should be used.

                 reply	other threads:[~2002-12-04 13:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3DEE0882.75037D4E@possio.com \
    --to=stefan.thomasson@possio.com \
    --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.