Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit acd3578e authored by Benjamin Herrenschmidt's avatar Benjamin Herrenschmidt Committed by Michael Ellerman
Browse files

powerpc/85xx/mpc85xx_rdb: Don't use the flat device-tree after boot

parent 5b0f9f83
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -47,13 +47,12 @@
void __init mpc85xx_rdb_pic_init(void)
void __init mpc85xx_rdb_pic_init(void)
{
{
	struct mpic *mpic;
	struct mpic *mpic;
	unsigned long root = of_get_flat_dt_root();


#ifdef CONFIG_QUICC_ENGINE
#ifdef CONFIG_QUICC_ENGINE
	struct device_node *np;
	struct device_node *np;
#endif
#endif


	if (of_flat_dt_is_compatible(root, "fsl,MPC85XXRDB-CAMP")) {
	if (of_machine_is_compatible("fsl,MPC85XXRDB-CAMP")) {
		mpic = mpic_alloc(NULL, 0, MPIC_NO_RESET |
		mpic = mpic_alloc(NULL, 0, MPIC_NO_RESET |
			MPIC_BIG_ENDIAN |
			MPIC_BIG_ENDIAN |
			MPIC_SINGLE_DEST_CPU,
			MPIC_SINGLE_DEST_CPU,