diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2008-01-25 03:46:00 +0100 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-01-28 15:33:00 +0100 |
commit | 846aace363a8cdaa2e7525f489165297bcf865b3 (patch) | |
tree | 6e1ff38fbfd4402c51165b20f89a2b1d9a8c5c9b /arch | |
parent | [POWERPC] 83xx: fold the mpc8313 platform into the mpc831x platform (diff) | |
download | linux-846aace363a8cdaa2e7525f489165297bcf865b3.tar.xz linux-846aace363a8cdaa2e7525f489165297bcf865b3.zip |
[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')
-rw-r--r-- | arch/powerpc/platforms/83xx/Kconfig | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/83xx/mpc831x_rdb.c | 3 |
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 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" 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) { 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[] = { |