Skip to contentSkip to conversation

powerpc: add base platform support for the mpc8315 rdb board

PATCH Applied Kim Phillips 2 participants 2 messages Jan 25, 2008 – Jan 26, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/9 powerpc: add base platform support for the mpc8315 rdb board

mpc8315 identical to mpc8313 here, just check compatible.

---
 arch/powerpc/platforms/83xx/Kconfig       |    2 +-
 arch/powerpc/platforms/83xx/mpc831x_rdb.c |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
arch/powerpc/platforms/83xx/Kconfig +1 -1
index faaa651..b478312 100644
@@ -7,7 +7,7 @@ config MPC831x_RDB
 	bool "Freescale MPC831x RDB"
 	select DEFAULT_UIMAGE
 	help
-	  This option enables support for the MPC8313 RDB board.
+	  This option enables support for the MPC8313 RDB and MPC8315 RDB boards.
 
 config MPC832x_MDS
 	bool "Freescale MPC832x MDS"
arch/powerpc/platforms/83xx/mpc831x_rdb.c +2 -1
index b484b2b..c4db517 100644
@@ -64,7 +64,8 @@ static int __init mpc831x_rdb_probe(void)
 {
 	unsigned long root = of_get_flat_dt_root();
 
-	return of_flat_dt_is_compatible(root, "MPC8313ERDB");
+	return of_flat_dt_is_compatible(root, "MPC8313ERDB") ||
+	       of_flat_dt_is_compatible(root, "fsl,mpc8315erdb");
 }
 
 static struct of_device_id __initdata of_bus_ids[] = {
Signature · 1 line
1.5.2.2
Applied
#1 lore raw
Quoted 8 lines · Kim Phillips

mpc8315 identical to mpc8313 here, just check compatible.

---
 arch/powerpc/platforms/83xx/Kconfig       |    2 +-
 arch/powerpc/platforms/83xx/mpc831x_rdb.c |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

applied.

- k