[PATCH 3/3] mtd: gpmi: add device tree support for mx6q-arm2 and mx28evk

Shawn Guo shawn.guo at linaro.org
Mon Apr 23 09:05:42 EDT 2012


On Mon, Apr 23, 2012 at 04:10:41PM +0800, Huang Shijie wrote:
> Do you mean I can merge the gpmi and bch into one device node such as :
> 
> gpmi-nand at xx {
> compatible = "fsl, mx28-gpmi-nand";
> reg = <xx>, <xx>;
> reg-names = "gpmi", "bch";
> 
> };
> 
Yes.  But you need to redefine GPMI_NAND_GPMI_REGS_ADDR_RES_NAME as
"gpmi" and GPMI_NAND_BCH_REGS_ADDR_RES_NAME as "bch".  That said,
the strings here must match the ones used in driver.

-- 
Regards,
Shawn



More information about the linux-mtd mailing list