diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2010-02-01 23:34:14 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-02-09 10:33:10 -0500 |
commit | 51975db0b7333cf389b64b5040c2a910341d241a (patch) | |
tree | aba9d6bf56eec915265a8b630c3192affc2a549c /include | |
parent | 71a157e8edca55198e808f8561dd49017a54ee34 (diff) |
of/flattree: merge early_init_dt_scan_memory() common code
Merge common code between PowerPC and Microblaze architectures.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/of_fdt.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/of_fdt.h b/include/linux/of_fdt.h index fbf29610616d..bf26bd5df9f1 100644 --- a/include/linux/of_fdt.h +++ b/include/linux/of_fdt.h | |||
@@ -75,6 +75,9 @@ extern void early_init_dt_scan_chosen_arch(unsigned long node); | |||
75 | extern int early_init_dt_scan_chosen(unsigned long node, const char *uname, | 75 | extern int early_init_dt_scan_chosen(unsigned long node, const char *uname, |
76 | int depth, void *data); | 76 | int depth, void *data); |
77 | extern void early_init_dt_check_for_initrd(unsigned long node); | 77 | extern void early_init_dt_check_for_initrd(unsigned long node); |
78 | extern int early_init_dt_scan_memory(unsigned long node, const char *uname, | ||
79 | int depth, void *data); | ||
80 | extern void early_init_dt_add_memory_arch(u64 base, u64 size); | ||
78 | extern u64 dt_mem_next_cell(int s, u32 **cellp); | 81 | extern u64 dt_mem_next_cell(int s, u32 **cellp); |
79 | 82 | ||
80 | /* Early flat tree scan hooks */ | 83 | /* Early flat tree scan hooks */ |