git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41d9ac1
)
cmd: terminal: avoid serial_reinit_all() with DM_SERIAL enabled
author
Aditya Dutt
<duttaditya18@gmail.com>
Fri, 5 Sep 2025 14:06:11 +0000
(19:36 +0530)
committer
Tom Rini
<trini@konsulko.com>
Tue, 16 Sep 2025 19:43:33 +0000
(13:43 -0600)
serial_reinit_all() is only available when CONFIG DM_SERIAL is disabled
and CONFIG_SERIAL is enabled.
Signed-off-by: Aditya Dutt <duttaditya18@gmail.com>
cmd/terminal.c
patch
|
blob
|
history
diff --git
a/cmd/terminal.c
b/cmd/terminal.c
index
d803bc6
..
1461069
100644
(file)
--- a/
cmd/terminal.c
+++ b/
cmd/terminal.c
@@
-24,7
+24,7
@@
int do_terminal(struct cmd_tbl *cmd, int flag, int argc, char *const argv[])
if (!dev)
return -1;
- if (IS_ENABLED(CONFIG_SERIAL))
+ if (IS_ENABLED(CONFIG_SERIAL)
&& !IS_ENABLED(CONFIG_DM_SERIAL)
)
serial_reinit_all();
printf("Entering terminal mode for port %s\n", dev->name);