[PATCH v2 1/2] powerpc/mpc85xx: support the MTD for p1022ds flash
Chang-Ming.Huang at freescale.com
Chang-Ming.Huang at freescale.com
Tue Apr 17 19:15:29 EST 2012
From: Jerry Huang <Chang-Ming.Huang at 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 at freescale.com>
---
changes for v2:
correct the style
arch/powerpc/platforms/85xx/p1022_ds.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
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", },
{},
};
--
1.7.5.4
More information about the Linuxppc-dev
mailing list