]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Move selection of the binman node into a function
authorSimon Glass <sjg@chromium.org>
Thu, 14 Jan 2021 03:29:56 +0000 (20:29 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 27 Jan 2021 22:03:16 +0000 (17:03 -0500)
commit18093a01c088bd879edc3f4c0b66696afbff6eec
treeef20071b34d280a8ed379ed1b4073e0a088a945f
parent34c270f3fda2c42b1a2c207f3a9ab1677685b89d
binman: Move selection of the binman node into a function

Move this logic out of the main init function so it is available for
other purpose.

Use a different error when multiple-images is in use but no subnode is
available. This makes it easier to determine what is wrong.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/binman.c