[PATCH] mtd: gpmi: add gpmi support for imx6sx

Brian Norris computersforpeace at gmail.com
Wed May 28 16:04:58 PDT 2014


On Thu, Mar 27, 2014 at 10:43:22AM +0800, Huang Shijie wrote:
> The gpmi's IP for imx6sx is nearly the same as the gpmi's IP for imx6q,
> except the following two new features:
> 
>      (1) the new BCH contoller has 62-BIT correcting ECC strength
>             (The BCH for imx6q only has 40-BIT ECC strength).
> 
>      (2) add the hardware Randomizer support.
> 
> This patch does the follow changes:
> 
>      (1) add a new macro GPMI_IS_MX6SX to represent the imx6sx's gpmi.
> 
>      (2) add a new macro GPMI_IS_MX6.
>            We use this macro to initialize the same registers for both
>          imx6sx and imx6q, and so on.
> 
>      (3) add a new gpmi_devdata instance, the gpmi_devdata_imx6sx, for
>          imx6sx.
> 
> Signed-off-by: Huang Shijie <b32955 at freescale.com>
> ---
> 
> This patch depends on the patch:
>    "mtd: gpmi: add gpmi_devdata{} to simplify the code"
>    http://lists.infradead.org/pipermail/linux-mtd/2014-March/052793.html

Pushed to l2-mtd.git. Thanks!

Brian



More information about the linux-mtd mailing list