[PATCH v2 1/2] powerpc/mpc85xx: support the MTD for p1022ds flash

Tabi Timur-B04825 B04825 at freescale.com
Wed Apr 18 04:09:35 EST 2012


On Tue, Apr 17, 2012 at 4:15 AM,  <Chang-Ming.Huang at freescale.com> wrote:

> diff --git a/arch/powerpc/platforms/85xx/p1022_ds.c b/arch/powerpc/platforms/85xx/p1022_ds.c
> index e74b7cd..0db3a7e 100644
> --- a/arch/powerpc/platforms/85xx/p1022_ds.c
> +++ b/arch/powerpc/platforms/85xx/p1022_ds.c
> @@ -463,6 +463,7 @@ static void __init p1022_ds_setup_arch(void)
>  static struct of_device_id __initdata p1022_ds_ids[] = {
>        /* So that the DMA channel nodes can be probed individually: */
>        { .compatible = "fsl,eloplus-dma", },
> +       { .compatible = "fsl,p1022-elbc", },
>        {},
>  };


Have you actually tested this with an upstream kernel?  p1022_ds_ids[]
is broken upstream, so adding a new line won't work.

Take a look at http://patchwork.ozlabs.org/patch/128533/

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the Linuxppc-dev mailing list