Commit 846aace3 authored by Kim Phillips's avatar Kim Phillips Committed by Kumar Gala

[POWERPC] 83xx: add base platform support for the mpc8315 rdb board

mpc8315 identical to mpc8313 here, just check compatible.
Signed-off-by: default avatarKim Phillips <kim.phillips@freescale.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 519fd80d
...@@ -7,7 +7,7 @@ config MPC831x_RDB ...@@ -7,7 +7,7 @@ config MPC831x_RDB
bool "Freescale MPC831x RDB" bool "Freescale MPC831x RDB"
select DEFAULT_UIMAGE select DEFAULT_UIMAGE
help 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 config MPC832x_MDS
bool "Freescale MPC832x MDS" bool "Freescale MPC832x MDS"
......
...@@ -64,7 +64,8 @@ static int __init mpc831x_rdb_probe(void) ...@@ -64,7 +64,8 @@ static int __init mpc831x_rdb_probe(void)
{ {
unsigned long root = of_get_flat_dt_root(); 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[] = { static struct of_device_id __initdata of_bus_ids[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment