aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-03-16 12:16:14 -0400
committerTom Rini <trini@konsulko.com>2023-03-16 12:16:14 -0400
commitcb90ddb2a64f30e6b0411f9385ddd84c5612314e (patch)
treee0f834058c62cc2d4a852fc83b9f92cd85121857 /common
parenta5faa4a9eb45f2cc0e858622db8fabafd644085b (diff)
parentc3cea95fd21937ce82be3dbd1062dde8fb0e6114 (diff)
downloadu-boot-cb90ddb2a64f30e6b0411f9385ddd84c5612314e.zip
u-boot-cb90ddb2a64f30e6b0411f9385ddd84c5612314e.tar.gz
u-boot-cb90ddb2a64f30e6b0411f9385ddd84c5612314e.tar.bz2
Merge tag 'dm-next-12mar23a' of git://git.denx.de/u-boot-dm into next
More tests and fixes for fdt command binman signing feature fix buildman -A bug introduced recently Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common')
-rw-r--r--common/console.c2
-rw-r--r--common/main.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/common/console.c b/common/console.c
index e4301a4..71ad8ef 100644
--- a/common/console.c
+++ b/common/console.c
@@ -842,7 +842,7 @@ int console_record_readline(char *str, int maxlen)
return -ENOSPC;
return membuff_readline((struct membuff *)&gd->console_out, str,
- maxlen, ' ');
+ maxlen, '\0');
}
int console_record_avail(void)
diff --git a/common/main.c b/common/main.c
index 682f335..7c70de2 100644
--- a/common/main.c
+++ b/common/main.c
@@ -13,6 +13,7 @@
#include <command.h>
#include <console.h>
#include <env.h>
+#include <fdtdec.h>
#include <init.h>
#include <net.h>
#include <version_string.h>