MIPS: Add helper function to allow platforms to point at a DTB.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 25 Jan 2012 14:03:19 +0000 (15:03 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 15 May 2012 15:49:19 +0000 (17:49 +0200)
commit7d6168e57610a51404fb30e500345e2d92c20b18
treef3848ea8c3b177217f778498500a8abce9299389
parent0a4c531c2124cbb700484787327c516abbd76e70
MIPS: Add helper function to allow platforms to point at a DTB.

Add __dt_setup_arch() that can be called to load a builtin DT.
Additionally we add a macro to allow loading a specific symbol
from the __dtb_* section.

Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3715/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/prom.h
arch/mips/kernel/prom.c