[PATCH v2 1/2] powerpc/mpc85xx: support the MTD for p1022ds flash
Huang Changming-R66093
r66093 at freescale.com
Wed Apr 18 17:46:35 EST 2012
Yes, I tested with the latest Linux kernel, with my patch, the NOR and NAND MTD can work well.
Best Regards
Jerry Huang
> -----Original Message-----
> From: Tabi Timur-B04825
> Sent: Wednesday, April 18, 2012 2:10 AM
> To: Huang Changming-R66093
> Cc: linuxppc-dev at lists.ozlabs.org; Kumar Gala
> Subject: Re: [PATCH v2 1/2] powerpc/mpc85xx: support the MTD for p1022ds
> flash
>
> 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/
More information about the Linuxppc-dev
mailing list