[PATCH v2 12/33] ofnode: Use 4K for a default tree-size

Tom Rini trini at konsulko.com
Wed Jan 8 19:33:45 CET 2025


On Mon, Jan 06, 2025 at 07:32:08AM -0700, Simon Glass wrote:

> 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 at chromium.org>
> ---
> 
> (no changes since v1)
> 
>  drivers/core/ofnode.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Why not have oftree_new take a size parameter?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250108/4d30e2ff/attachment.sig>


More information about the U-Boot mailing list