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:
9b35dbc
)
ofnode: Use 4K for a default tree-size
author
Simon Glass
<sjg@chromium.org>
Sat, 11 Jan 2025 00:00:09 +0000
(17:00 -0700)
committer
Tom Rini
<trini@konsulko.com>
Wed, 22 Jan 2025 21:58:03 +0000
(15:58 -0600)
At some point it would be nice to have the ofnode API automatically
expand the tree as required, to accommodate new nodes. For now, expand
the default size so that UPL can be supported.
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/ofnode.c
patch
|
blob
|
history
diff --git
a/drivers/core/ofnode.c
b/drivers/core/ofnode.c
index
c816182
..
98483c0
100644
(file)
--- a/
drivers/core/ofnode.c
+++ b/
drivers/core/ofnode.c
@@
-118,7
+118,7
@@
int oftree_new(oftree *treep)
return log_msg_ret("liv", ret);
tree = oftree_from_np(root);
} else {
- const int size =
1024
;
+ const int size =
4096
;
void *fdt;
ret = check_tree_count();