From: Max Stirling <vicky.irobot@gmail.com>
To: linux-mtd@lists.infradead.org
Subject: Is mtdblock_ro to be used only with 512byte page size flash only?
Date: Fri, 08 Feb 2008 16:10:15 +0530 [thread overview]
Message-ID: <47AC318F.2040909@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 324 bytes --]
In mtdblock_ro code, mtdblock_readsect function calls mtd->read passing
a hard coded parameter of 512 (the third parameter).
Is this refering to 512 bytes data which is like one page in case of the
flash I am using? If that is the case then can this block RO code be
used only with flash which has a 512 data size?
M.S
[-- Attachment #2: vicky_irobot.vcf --]
[-- Type: text/x-vcard, Size: 48 bytes --]
begin:vcard
fn:M S
n:S;M
version:2.1
end:vcard
next reply other threads:[~2008-02-08 10:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-08 10:40 Max Stirling [this message]
2008-02-08 11:22 ` Is mtdblock_ro to be used only with 512byte page size flash only? Max Stirling
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=47AC318F.2040909@gmail.com \
--to=vicky.irobot@gmail.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.