summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSughosh Ganu <[email protected]>2024-10-15 21:07:11 +0530
committerTom Rini <[email protected]>2024-10-15 13:45:29 -0600
commit497da0c5ce9084fed8166b18b4f1f9dbe1532034 (patch)
tree2b516dd37f98244c72d0110ec61a8e6a75281bfe /include
parent695dbd5fae4fcd708a9424238818dc8de4d8148a (diff)
lmb: allow for boards to specify memory map
Some architectures have special or unique aspects which need consideration when adding memory ranges to the list of available memory map. Enable this config in such scenarios which allow architectures and boards to define their own memory map. Signed-off-by: Sughosh Ganu <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/lmb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/lmb.h b/include/lmb.h
index 837002121d9..e46abf400c6 100644
--- a/include/lmb.h
+++ b/include/lmb.h
@@ -168,6 +168,8 @@ long lmb_free(phys_addr_t base, phys_size_t size);
void lmb_dump_all(void);
void lmb_dump_all_force(void);
+void lmb_arch_add_memory(void);
+
struct lmb *lmb_get(void);
int lmb_push(struct lmb *store);
void lmb_pop(struct lmb *store);