[Uboot-stm32] [U-BOOT internal][PATCH] configs: stm32mp15: set stdin/stdout/stderr to serial

Patrice Chotard patrice.chotard at foss.st.com
Tue Jan 16 10:03:18 UTC 2024


Set stdin/stdout/stderr to "serial" in environment to fix the
following warning:
In:    No input devices available!
Out:   No output devices available!
Err:   No error devices available!

Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>
---

 include/configs/stm32mp15_st_common.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/include/configs/stm32mp15_st_common.h b/include/configs/stm32mp15_st_common.h
index 60838cb0e3f..6dd73b21c2a 100644
--- a/include/configs/stm32mp15_st_common.h
+++ b/include/configs/stm32mp15_st_common.h
@@ -12,7 +12,10 @@
 	"usb_pgood_delay=2000\0" \
 	"console=ttySTM0\0" \
 	"splashimage=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
-	"splashpos=m,m\0"
+	"splashpos=m,m\0" \
+	"stdin=serial\0" \
+	"stdout=serial\0" \
+	"stderr=serial\0"
 
 #include <configs/stm32mp15_common.h>
 
-- 
2.25.1



More information about the Uboot-stm32 mailing list