aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2008-01-24 21:46:00 -0500
committerKumar Gala <galak@kernel.crashing.org>2008-01-28 09:33:00 -0500
commit846aace363a8cdaa2e7525f489165297bcf865b3 (patch)
tree6e1ff38fbfd4402c51165b20f89a2b1d9a8c5c9b /arch/powerpc/platforms
parent519fd80da9e3020d9fd21fa5c496e499156cd9d6 (diff)
[POWERPC] 83xx: add base platform support for the mpc8315 rdb board
mpc8315 identical to mpc8313 here, just check compatible. Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r--arch/powerpc/platforms/83xx/Kconfig2
-rw-r--r--arch/powerpc/platforms/83xx/mpc831x_rdb.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/83xx/Kconfig b/arch/powerpc/platforms/83xx/Kconfig
index 10a665f7774c..924408cc5a81 100644
--- a/arch/powerpc/platforms/83xx/Kconfig
+++ b/arch/powerpc/platforms/83xx/Kconfig
@@ -7,7 +7,7 @@ config MPC831x_RDB
7 bool "Freescale MPC831x RDB" 7 bool "Freescale MPC831x RDB"
8 select DEFAULT_UIMAGE 8 select DEFAULT_UIMAGE
9 help 9 help
10 This option enables support for the MPC8313 RDB board. 10 This option enables support for the MPC8313 RDB and MPC8315 RDB boards.
11 11
12config MPC832x_MDS 12config MPC832x_MDS
13 bool "Freescale MPC832x MDS" 13 bool "Freescale MPC832x MDS"
diff --git a/arch/powerpc/platforms/83xx/mpc831x_rdb.c b/arch/powerpc/platforms/83xx/mpc831x_rdb.c
index b484b2b4ba69..c4db5172b27a 100644
--- a/arch/powerpc/platforms/83xx/mpc831x_rdb.c
+++ b/arch/powerpc/platforms/83xx/mpc831x_rdb.c
@@ -64,7 +64,8 @@ static int __init mpc831x_rdb_probe(void)
64{ 64{
65 unsigned long root = of_get_flat_dt_root(); 65 unsigned long root = of_get_flat_dt_root();
66 66
67 return of_flat_dt_is_compatible(root, "MPC8313ERDB"); 67 return of_flat_dt_is_compatible(root, "MPC8313ERDB") ||
68 of_flat_dt_is_compatible(root, "fsl,mpc8315erdb");
68} 69}
69 70
70static struct of_device_id __initdata of_bus_ids[] = { 71static struct of_device_id __initdata of_bus_ids[] = {