summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMa Haijun <mahaijuns@gmail.com>2014-07-12 14:24:06 +0100
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-07-28 17:19:49 +0200
commite29607ed972056723e4bf0ac90767421cf0f0b78 (patch)
tree6e2f8023065d2f222955881c2a398048b735cbed /include
parent38510a4b34a699a534121ad3cb9096cc0fd7a86e (diff)
downloadu-boot-imx-e29607ed972056723e4bf0ac90767421cf0f0b78.zip
u-boot-imx-e29607ed972056723e4bf0ac90767421cf0f0b78.tar.gz
u-boot-imx-e29607ed972056723e4bf0ac90767421cf0f0b78.tar.bz2
ARM: convert arch_fixup_memory_node to a generic FDT fixup function
Some architecture needs extra device tree setup. Instead of adding yet another hook, convert arch_fixup_memory_node to be a generic FDT fixup function. [maz: collapsed 3 patches into one, rewrote commit message] Signed-off-by: Ma Haijun <mahaijuns@gmail.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/common.h b/include/common.h
index a75fc25..1d6cb48 100644
--- a/include/common.h
+++ b/include/common.h
@@ -318,14 +318,14 @@ int arch_early_init_r(void);
void board_show_dram(ulong size);
/**
- * arch_fixup_memory_node() - Write arch-specific memory information to fdt
+ * arch_fixup_fdt() - Write arch-specific information to fdt
*
- * Defined in arch/$(ARCH)/lib/bootm.c
+ * Defined in arch/$(ARCH)/lib/bootm-fdt.c
*
* @blob: FDT blob to write to
* @return 0 if ok, or -ve FDT_ERR_... on failure
*/
-int arch_fixup_memory_node(void *blob);
+int arch_fixup_fdt(void *blob);
/* common/flash.c */
void flash_perror (int);