summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/mips-boards/generic.h
diff options
context:
space:
mode:
authorSteven J. Hill <sjhill@mips.com>2013-01-17 11:37:03 -0600
committerRalf Baechle <ralf@linux-mips.org>2013-02-01 10:00:21 +0100
commit9b73100911ac6886e1bbf54a4626d545f9ba6ddf (patch)
treee2c1ceef05fe279eba70153908a7df75b18d401d /arch/mips/include/asm/mips-boards/generic.h
parent8fba1e588b7ed124bef42548924a6f4f95de9dba (diff)
MIPS: SEAD3: Implement OF support.
Activate USE_OF for SEAD-3 platform. Add basic DTS file and convert memory detection and reservations to use OF. [ralf@linux-mips.org: Remove unnecessary #ifdef wrapper in generic.h. Make <asm/mips-boards/generic.h> inclusion work even without prior <linux/of_fdt.h> inclusion.] Signed-off-by: Steven J. Hill <sjhill@mips.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/4809/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mips-boards/generic.h')
-rw-r--r--arch/mips/include/asm/mips-boards/generic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mips-boards/generic.h b/arch/mips/include/asm/mips-boards/generic.h
index 6e23ceb0ba8c..c01e286394da 100644
--- a/arch/mips/include/asm/mips-boards/generic.h
+++ b/arch/mips/include/asm/mips-boards/generic.h
@@ -87,6 +87,10 @@
extern int mips_revision_sconid;
+#ifdef CONFIG_OF
+extern struct boot_param_header __dtb_start;
+#endif
+
#ifdef CONFIG_PCI
extern void mips_pcibios_init(void);
#else