[PATCH] mtd/ifc: Add support for IFC controller version 2.0

Li Yang leoli at freescale.com
Thu Feb 4 15:07:16 PST 2016


On Wed, Feb 3, 2016 at 12:36 AM, Raghav Dogra <raghav at freescale.com> wrote:
> The new IFC controller version 2.0 has a different memory map page.
> Upto IFC 1.4 PAGE size is 4 KB and from IFC2.0 PAGE size is 64KB.
> This patch segregates the IFC global and runtime registers to appropriate
> PAGE sizes.

If the global registers and the runtime registers are so independent
that they have to be on different page boundaries, it would make more
sense for them to be defined as separate reg regions in the device
tree at the very beginning.  Then we would only need to change the
device tree now and it would be future proof for any page size.

>
> Signed-off-by: Jaiprakash Singh <b44839 at freescale.com>
> Signed-off-by: Raghav Dogra <raghav at freescale.com>

The patch cannot apply on latest 4.5-rc cleanly either.  Otherwise,

Acked-by: Li Yang <leoyang.li at nxp.com>

> ---
> This patch is the new version of following patch with changed title:
> https://patchwork.ozlabs.org/patch/557391/
>
> This patch is dependent on the
> "drivers/memory: Add deep sleep support for IFC" patch:
> https://patchwork.ozlabs.org/patch/564785/
>
>  drivers/memory/fsl_ifc.c        | 250 +++++++++++++++++++++-------------------
>  drivers/mtd/nand/fsl_ifc_nand.c |  72 ++++++------
>  include/linux/fsl_ifc.h         |  48 +++++---
>  3 files changed, 202 insertions(+), 168 deletions(-)

Regards,
Leo



More information about the linux-mtd mailing list