Message ID | 1334626955-8069-1-git-send-email-Chang-Ming.Huang@freescale.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Kumar Gala |
Headers | show |
On Mon, Apr 16, 2012 at 8:42 PM, <Chang-Ming.Huang@freescale.com> wrote: > From: Jerry Huang <Chang-Ming.Huang@freescale.com> > > The compatilbe 'simple-bus' is removed from the latest DTS for NAND and > NOR flash partition, so we must add the new compatilbe support for p1022ds, > otherwise, the kernel can't parse the partition of NOR and NAND flash. > > Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com> > --- This patch is no longer compatible with the upstream kernel since my patch, "powerpc/85xx: don't call of_platform_bus_probe() twice" was applied. This is because my patch removed p1022_ds_ids[].
On Apr 16, 2012, at 8:42 PM, <Chang-Ming.Huang@freescale.com> <Chang-Ming.Huang@freescale.com> wrote: > From: Jerry Huang <Chang-Ming.Huang@freescale.com> > > The compatilbe 'simple-bus' is removed from the latest DTS for NAND and > NOR flash partition, so we must add the new compatilbe support for p1022ds, > otherwise, the kernel can't parse the partition of NOR and NAND flash. > > Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com> > --- > arch/powerpc/platforms/85xx/p1022_ds.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) If this is still relevant, please resubmit against my powerpc.git 'next' branch. - k
Yes, I think it is still needed for p1022ds, I will resent it according to Timur's change. Best Regards Jerry Huang > -----Original Message----- > From: Kumar Gala [mailto:galak@kernel.crashing.org] > Sent: Tuesday, July 03, 2012 1:54 AM > To: Huang Changming-R66093 > Cc: linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH 1/2] powerpc/mpc85xx: p1022ds support the MTD for NOR > and NAND flash > > > On Apr 16, 2012, at 8:42 PM, <Chang-Ming.Huang@freescale.com> <Chang- > Ming.Huang@freescale.com> wrote: > > > From: Jerry Huang <Chang-Ming.Huang@freescale.com> > > > > The compatilbe 'simple-bus' is removed from the latest DTS for NAND > > and NOR flash partition, so we must add the new compatilbe support for > > p1022ds, otherwise, the kernel can't parse the partition of NOR and > NAND flash. > > > > Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com> > > --- > > arch/powerpc/platforms/85xx/p1022_ds.c | 1 + > > 1 files changed, 1 insertions(+), 0 deletions(-) > > If this is still relevant, please resubmit against my powerpc.git 'next' > branch. > > - k
diff --git a/arch/powerpc/platforms/85xx/p1022_ds.c b/arch/powerpc/platforms/85xx/p1022_ds.c index 6c8ff8b..8948293 100644 --- a/arch/powerpc/platforms/85xx/p1022_ds.c +++ b/arch/powerpc/platforms/85xx/p1022_ds.c @@ -379,6 +379,7 @@ static struct of_device_id __initdata p1022_ds_ids[] = { { .compatible = "gianfar", }, /* So that the DMA channel nodes can be probed individually: */ { .compatible = "fsl,eloplus-dma", }, + { .compatible = "fsl,p1022-elbc", }, {}, };