[PATCH] mtd: physmap_of: Add "map-indirect" DT property

Anatolij Gustschin agust at denx.de
Mon Jul 16 03:43:24 EDT 2012


Hi Stefan,

On Tue,  3 Jul 2012 10:26:31 +0200
Stefan Roese <sr at denx.de> wrote:

> On some platforms (e.g. MPC5200) a direct 1:1 mapping may cause
> problems with JFFS2 usage, as the local bus (LPB) doesn't support
> unaligned accesses as implemented in the JFFS2 code via memcpy().
> By defining "map-indirect", the flash will not be exposed directly
> to the MTD users (e.g. JFFS2) any more.
> 
> Signed-off-by: Stefan Roese <sr at denx.de>
> Cc: Stephan Gatzka <Stephan.Gatzka at hbm.com>
> Cc: Anatolij Gustschin <agust at denx.de>
> Cc: Albrecht Dress <albrecht.dress at arcor.de>
> ---
>  Documentation/devicetree/bindings/mtd/mtd-physmap.txt |  7 +++++++
>  drivers/mtd/maps/physmap_of.c                         | 14 ++++++++++++++
>  2 files changed, 21 insertions(+)

The patch looks good, so

Acked-by: Anatolij Gustschin <agust at denx.de>

Thanks,
Anatolij



More information about the linux-mtd mailing list