devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] powerpc/p1010rdb:add P1010RDB-PB platform support
@ 2013-11-07  2:29 Zhao Qiang
       [not found] ` <1383791369-29324-1-git-send-email-B45475-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Zhao Qiang @ 2013-11-07  2:29 UTC (permalink / raw)
  To: bcousson-rdvid1DuHRBWk0Htik3J/w, tony-4v6yS6AI5VpBDgjK7y7TUQ,
	devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ, Zhao Qiang

The P1010RDB-PB is similar to P1010RDB(P1010RDB-PA).
So, P1010RDB-PB use the same platform file as P1010RDB.
Then Add support for P1010RDB-PB platform.

Signed-off-by: Zhao Qiang <B45475-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
---
 arch/powerpc/platforms/85xx/p1010rdb.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/powerpc/platforms/85xx/p1010rdb.c b/arch/powerpc/platforms/85xx/p1010rdb.c
index 0252961..d6a3dd3 100644
--- a/arch/powerpc/platforms/85xx/p1010rdb.c
+++ b/arch/powerpc/platforms/85xx/p1010rdb.c
@@ -66,6 +66,8 @@ static int __init p1010_rdb_probe(void)
 
 	if (of_flat_dt_is_compatible(root, "fsl,P1010RDB"))
 		return 1;
+	if (of_flat_dt_is_compatible(root, "fsl,P1010RDB-PB"))
+		return 1;
 	return 0;
 }
 
-- 
1.8.4


--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-11-13  1:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-07  2:29 [PATCH 1/3] powerpc/p1010rdb:add P1010RDB-PB platform support Zhao Qiang
     [not found] ` <1383791369-29324-1-git-send-email-B45475-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2013-11-07  2:29   ` [PATCH 2/3] powerpc/p1010rdb:update dts to adapt to both old and new p1010rdb Zhao Qiang
2013-11-07  2:29   ` [PATCH 3/3] powerpc/p1010rdb:update mtd of nand " Zhao Qiang
2013-11-13  1:50   ` [PATCH 1/3] powerpc/p1010rdb:add P1010RDB-PB platform support Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).