summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-11-26 14:57:45 -0600
committerGerald Van Baren <vanbaren@cideas.com>2007-12-07 20:51:25 -0500
commit3c9272813fad84c691d0e4989bb18a3ffebdebfc (patch)
treeb591d18edcce79a7e9c656d3ed8884f6735b30a0 /include
parent9c9109e7fcf7ac2ca19c95b8ac54b8d1c773b157 (diff)
downloadu-boot-imx-3c9272813fad84c691d0e4989bb18a3ffebdebfc.zip
u-boot-imx-3c9272813fad84c691d0e4989bb18a3ffebdebfc.tar.gz
u-boot-imx-3c9272813fad84c691d0e4989bb18a3ffebdebfc.tar.bz2
Add common memory fixup function
Add the function fdt_fixup_memory() to fixup the /memory node of the fdt Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include')
-rw-r--r--include/fdt_support.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fdt_support.h b/include/fdt_support.h
index 8f781d4..3d6c1a8 100644
--- a/include/fdt_support.h
+++ b/include/fdt_support.h
@@ -44,6 +44,7 @@ void do_fixup_by_compat(void *fdt, const char *compat,
const char *prop, const void *val, int len, int create);
void do_fixup_by_compat_u32(void *fdt, const char *compat,
const char *prop, u32 val, int create);
+int fdt_fixup_memory(void *blob, u64 start, u64 size);
void fdt_fixup_ethernet(void *fdt, bd_t *bd);
#ifdef CONFIG_OF_HAS_UBOOT_ENV