mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
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>
This commit is contained in:
parent
71a157e8ed
commit
51975db0b7
4 changed files with 73 additions and 100 deletions
|
|
@ -75,6 +75,9 @@ extern void early_init_dt_scan_chosen_arch(unsigned long node);
|
|||
extern int early_init_dt_scan_chosen(unsigned long node, const char *uname,
|
||||
int depth, void *data);
|
||||
extern void early_init_dt_check_for_initrd(unsigned long node);
|
||||
extern int early_init_dt_scan_memory(unsigned long node, const char *uname,
|
||||
int depth, void *data);
|
||||
extern void early_init_dt_add_memory_arch(u64 base, u64 size);
|
||||
extern u64 dt_mem_next_cell(int s, u32 **cellp);
|
||||
|
||||
/* Early flat tree scan hooks */
|
||||
|
|
|
|||
Loading…
Reference in a new issue