From: Ladislav Michl <Ladislav.Michl@seznam.cz>
To: u-boot@lists.denx.de
Subject: [U-Boot] CFI numblocks incorrect?
Date: Thu, 28 Jan 2010 00:13:20 +0100 [thread overview]
Message-ID: <20100127231320.GA18587@localhost.localdomain> (raw)
it seems CFI flash support is somehow broken. mtd->eraseregions is
filled as bellow:
erase size blocks correct blocks
00004000 01 01
00002000 01 02
00008000 00 01
00010000 0f 0f
'blocks' is actual numblocks field value while 'correct blocks' is expected
value. flinfo gives correct results (it is AM29LV800BB). It seems to be
related to cfi_mtd_set_erasesize function, but I'm too tired to debug it
further. Just reporting in case anyone has time to look at it. Otherwise
I'll do so at Friday.
Best regards,
ladis
next reply other threads:[~2010-01-27 23:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-27 23:13 Ladislav Michl [this message]
2010-01-28 11:27 ` [U-Boot] [PATCH] CFI: fix eraseregions numblocks Ladislav Michl
2010-02-02 8:12 ` Stefan Roese
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=20100127231320.GA18587@localhost.localdomain \
--to=ladislav.michl@seznam.cz \
--cc=u-boot@lists.denx.de \
/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