[PATCH] mtd: maps: lantiq-flash: Check if the EBU endianness swap is enabled

Langer, Thomas thomas.langer at intel.com
Thu Jan 26 08:01:04 PST 2017


Hi Sebastian,

> 
> > We should introduce specific compatible strings for this driver, which
> trigger this,
> > e.g. "lantiq,nor-vr9" or "lantiq,nor-ar10" (or better using family names
> "xrx200" and "xrx300")
> 
> You mean we can use the same way as other drivers, for example in the
> physmap_of_versatile.c file :
> 
> static const struct of_device_id syscon_match[] = {
>         {
>                 .compatible = "arm,integrator-ap-syscon",
>                 .data = (void *)INTEGRATOR_AP_FLASHPROT,
>         },
>         {
>                 .compatible = "arm,integrator-cp-syscon",
>                 .data = (void *)INTEGRATOR_CP_FLASHPROT,
>         },
> 
> etc...
> 
> 
> We can't filter on xrx200 or vr9, but we have to know the VR9 version
> (as the VR9 < 1.2 is not compatible with this patch).

Then extend the compatible strings with versions (where necessary).
This requires to know the SoC version for each board, but it should be 
okay and is done for other system already this way.

> 
> Regards,
> 
> Sebastien

Regards,
Thomas


More information about the linux-mtd mailing list