Explorar o código

powerpc/5200: Add 'simple-bus' to the of_platform probe list.

To better match the ePAPR specification, device nodes which claim
"simple-bus" compatibility should be probed by default.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Grant Likely %!s(int64=16) %!d(string=hai) anos
pai
achega
aafbf16b89
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      arch/powerpc/platforms/52xx/mpc52xx_common.c

+ 2 - 1
arch/powerpc/platforms/52xx/mpc52xx_common.c

@@ -28,9 +28,10 @@ static struct of_device_id mpc52xx_xlb_ids[] __initdata = {
 static struct of_device_id mpc52xx_bus_ids[] __initdata = {
 static struct of_device_id mpc52xx_bus_ids[] __initdata = {
 	{ .compatible = "fsl,mpc5200-immr", },
 	{ .compatible = "fsl,mpc5200-immr", },
 	{ .compatible = "fsl,mpc5200b-immr", },
 	{ .compatible = "fsl,mpc5200b-immr", },
-	{ .compatible = "fsl,lpb", },
+	{ .compatible = "simple-bus", },
 
 
 	/* depreciated matches; shouldn't be used in new device trees */
 	/* depreciated matches; shouldn't be used in new device trees */
+	{ .compatible = "fsl,lpb", },
 	{ .type = "builtin", .compatible = "mpc5200", }, /* efika */
 	{ .type = "builtin", .compatible = "mpc5200", }, /* efika */
 	{ .type = "soc", .compatible = "mpc5200", }, /* lite5200 */
 	{ .type = "soc", .compatible = "mpc5200", }, /* lite5200 */
 	{}
 	{}