From: Max Stirling <vicky.irobot@gmail.com>
To: linux-mtd@lists.infradead.org
Subject: Re: Is mtdblock_ro to be used only with 512byte page size flash only?
Date: Fri, 08 Feb 2008 16:52:44 +0530 [thread overview]
Message-ID: <47AC3B84.30501@gmail.com> (raw)
In-Reply-To: <47AC318F.2040909@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 386 bytes --]
Max Stirling wrote:
> 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
Ok this is the sector size.
[-- 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
prev parent reply other threads:[~2008-02-08 11:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-08 10:40 Is mtdblock_ro to be used only with 512byte page size flash only? Max Stirling
2008-02-08 11:22 ` Max Stirling [this message]
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=47AC3B84.30501@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox