git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f18c048
)
lmb: Export the lmb data structure
author
Simon Glass
<sjg@chromium.org>
Mon, 21 Oct 2024 08:19:31 +0000
(10:19 +0200)
committer
Tom Rini
<trini@konsulko.com>
Fri, 25 Oct 2024 20:22:24 +0000
(14:22 -0600)
Provide a way to access this data structure so that the meminfo command
can use it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/lmb.c
patch
|
blob
|
history
diff --git
a/lib/lmb.c
b/lib/lmb.c
index
7e90f17
..
eec99c1
100644
(file)
--- a/
lib/lmb.c
+++ b/
lib/lmb.c
@@
-887,12
+887,12
@@
int lmb_init(void)
return 0;
}
-#if CONFIG_IS_ENABLED(UNIT_TEST)
struct lmb *lmb_get(void)
{
return &lmb;
}
+#if CONFIG_IS_ENABLED(UNIT_TEST)
int lmb_push(struct lmb *store)
{
int ret;