[PATCH V4] mtd: bcm47xxsflash: support reading flash out of mapping window
Brian Norris
computersforpeace at gmail.com
Wed Feb 8 15:09:21 PST 2017
On Wed, Feb 08, 2017 at 11:53:44PM +0100, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal at milecki.pl>
>
> For reading flash content we use MMIO but it's possible to read only
> first 16 MiB this way. It's simply an arch design/limitation.
> To support flash sizes bigger than 16 MiB implement indirect access
> using ChipCommon registers.
> This has been tested using MX25L25635F.
>
> Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
> Acked-by: Marek Vasut <marek.vasut at gmail.com>
> ---
> V2: Simplify line writing to buf
> Add some trivial comment for OPCODE_ST_READ4B
> Both requested by Marek
> V3: Use as much as possible MMIO access for reads crossing boundary
> V4: Add missing buf increment (thanks Brian!)
Presumably you tested for this case now? Seems like quick turnaround :)
More information about the linux-mtd
mailing list