diff options
author | Steven J. Hill <sjhill@mips.com> | 2013-01-17 12:37:03 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-02-01 04:00:21 -0500 |
commit | 9b73100911ac6886e1bbf54a4626d545f9ba6ddf (patch) | |
tree | e2c1ceef05fe279eba70153908a7df75b18d401d /arch/mips/include | |
parent | 8fba1e588b7ed124bef42548924a6f4f95de9dba (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')
-rw-r--r-- | arch/mips/include/asm/mips-boards/generic.h | 4 |
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 @@ | |||
87 | 87 | ||
88 | extern int mips_revision_sconid; | 88 | extern int mips_revision_sconid; |
89 | 89 | ||
90 | #ifdef CONFIG_OF | ||
91 | extern struct boot_param_header __dtb_start; | ||
92 | #endif | ||
93 | |||
90 | #ifdef CONFIG_PCI | 94 | #ifdef CONFIG_PCI |
91 | extern void mips_pcibios_init(void); | 95 | extern void mips_pcibios_init(void); |
92 | #else | 96 | #else |