[PATCH] mtd: m25p80: add message if mmap flash read is supported
Heiner Kallweit
hkallweit1 at gmail.com
Thu May 5 08:28:13 PDT 2016
Am 05.05.2016 um 02:54 schrieb Brian Norris:
> (moving linux-spi to BCC, since this is MTD-only, and doesn't concern
> the SPI core)
>
> On Wed, Apr 27, 2016 at 10:36:48PM +0200, Heiner Kallweit wrote:
>> As a follow-up to commit 08922f644878c9 "mtd: devices: m25p80: add support for
>> mmap read request" add an info to syslog if mmap flash read is supported for a
>> device.
>
> Any particular reason you want this to be printed? There are quite a few
> other features we don't print to the log right now.
>
I see few scenarios where this information may be useful:
- Confirmation that the mmap feature was properly configured for a device
(e.g. if mmap feature is enabled by platform data / DT for a flash chip)
- There are devices with >1 flash chip and just one can be accessed mmapped.
Then this information can give a hint e.g. why accessing one chip is faster than
accessing other(s).
- Debugging purposes (e.g. mmap is configured but not supported and flash read fails)
Rgds, Heiner
> Brian
>
More information about the linux-mtd
mailing list