]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
binman: Avoid skipping binman_init()
authorSimon Glass <sjg@chromium.org>
Sun, 1 Dec 2024 14:42:34 +0000 (07:42 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 2 Dec 2024 13:40:30 +0000 (07:40 -0600)
A recent lwip change stopped binman's init from working, so it is not
possible to read nodes from the image description anymore.

Correct this by dropping the offending line.

Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: 4d4d7838127 net: lwip: add TFTP support and tftpboot command
lib/binman.c

index 93d8554811623c1df065cf22cf163c2d3bc95bbd..9047f5275f3250ae1106b859f311a16e0c34cbf6 100644 (file)
@@ -137,7 +137,6 @@ int binman_init(void)
 {
        int ret;
 
-       return 0;
        binman = malloc(sizeof(struct binman_info));
        if (!binman)
                return log_msg_ret("space for binman", -ENOMEM);