]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Refactor binman_entry_find() to allow other nodes
authorSimon Glass <sjg@chromium.org>
Wed, 8 Jul 2020 03:32:03 +0000 (21:32 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 17 Jul 2020 06:32:24 +0000 (14:32 +0800)
commit956a9082d325fae2b8c840d6974b6d090a8a21a7
tree271bd07cb3e5c33b810b2c6c505e515c0e5aad14
parentdb6fb7d152bf39d2781b61d89458900660544b91
binman: Refactor binman_entry_find() to allow other nodes

At present we can only read from a top-level binman node entry. Refactor
this function to produce a second local function which supports reading
from any node.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
lib/binman.c