powerpc/p1010rdb: add P1010RDB-PB platform support
authorZhao Qiang <B45475@freescale.com>
Mon, 14 Oct 2013 06:46:13 +0000 (14:46 +0800)
committerScott Wood <scottwood@freescale.com>
Tue, 29 Oct 2013 02:11:23 +0000 (21:11 -0500)
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@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/platforms/85xx/p1010rdb.c

index 0252961392d53f308c326b3afab18ef90b68cdbd..d6a3dd3114945676eb89fa4e3e3d91a34a0b1c6c 100644 (file)
@@ -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;
 }