diff options
author | Grant Likely <grant.likely@linaro.org> | 2014-03-19 11:01:53 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2014-03-19 11:01:53 -0400 |
commit | ca3992bc0c12e381deb84cd47ec1181a6d34660d (patch) | |
tree | 162006e862b9d856fdce1b19f0ba117dafb6ca58 /include/linux/of_fdt.h | |
parent | 0829f6d1f69e4f2fae4062987ae6531a9af1a2e3 (diff) | |
parent | 2040b52768ebab6e7bd73af0dc63703269c62f17 (diff) |
Merge branch 'devicetree/next-reserved-mem' into devicetree/next
Diffstat (limited to 'include/linux/of_fdt.h')
-rw-r--r-- | include/linux/of_fdt.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/of_fdt.h b/include/linux/of_fdt.h index 2b77058a7335..ddd7219af8ac 100644 --- a/include/linux/of_fdt.h +++ b/include/linux/of_fdt.h | |||
@@ -98,7 +98,10 @@ extern int early_init_dt_scan_chosen(unsigned long node, const char *uname, | |||
98 | int depth, void *data); | 98 | int depth, void *data); |
99 | extern int early_init_dt_scan_memory(unsigned long node, const char *uname, | 99 | extern int early_init_dt_scan_memory(unsigned long node, const char *uname, |
100 | int depth, void *data); | 100 | int depth, void *data); |
101 | extern void early_init_fdt_scan_reserved_mem(void); | ||
101 | extern void early_init_dt_add_memory_arch(u64 base, u64 size); | 102 | extern void early_init_dt_add_memory_arch(u64 base, u64 size); |
103 | extern int early_init_dt_reserve_memory_arch(phys_addr_t base, phys_addr_t size, | ||
104 | bool no_map); | ||
102 | extern void * early_init_dt_alloc_memory_arch(u64 size, u64 align); | 105 | extern void * early_init_dt_alloc_memory_arch(u64 size, u64 align); |
103 | extern u64 dt_mem_next_cell(int s, __be32 **cellp); | 106 | extern u64 dt_mem_next_cell(int s, __be32 **cellp); |
104 | 107 | ||
@@ -118,6 +121,7 @@ extern void unflatten_and_copy_device_tree(void); | |||
118 | extern void early_init_devtree(void *); | 121 | extern void early_init_devtree(void *); |
119 | extern void early_get_first_memblock_info(void *, phys_addr_t *); | 122 | extern void early_get_first_memblock_info(void *, phys_addr_t *); |
120 | #else /* CONFIG_OF_FLATTREE */ | 123 | #else /* CONFIG_OF_FLATTREE */ |
124 | static inline void early_init_fdt_scan_reserved_mem(void) {} | ||
121 | static inline const char *of_flat_dt_get_machine_name(void) { return NULL; } | 125 | static inline const char *of_flat_dt_get_machine_name(void) { return NULL; } |
122 | static inline void unflatten_device_tree(void) {} | 126 | static inline void unflatten_device_tree(void) {} |
123 | static inline void unflatten_and_copy_device_tree(void) {} | 127 | static inline void unflatten_and_copy_device_tree(void) {} |