Skip to content

Commit

Permalink
MIPS: parse chosen node on boot
Browse files Browse the repository at this point in the history
Call early_init_devtree from inside __dt_setup_arch to allow parsing of the
chosen node.

Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3718/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
John Crispin authored and Ralf Baechle committed May 15, 2012
1 parent 7d6168e commit 40e91ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/mips/kernel/prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,6 @@ void __init __dt_setup_arch(struct boot_param_header *bph)
}

initial_boot_params = bph;

early_init_devtree(initial_boot_params);
}

0 comments on commit 40e91ae

Please sign in to comment.