summaryrefslogtreecommitdiff
path: root/drivers/serial/Kconfig
diff options
context:
space:
mode:
authorSean Anderson <[email protected]>2022-04-04 14:18:00 -0400
committerTom Rini <[email protected]>2022-04-14 15:39:15 -0400
commit34855b39beb63ca3cdeabbd704ea610268837ced (patch)
treeb3e48c196c19c47ffbfe986b02d40a6aa9f384bd /drivers/serial/Kconfig
parent679190c41a25592103e711718c93d2655d344713 (diff)
serial: smh: Implement puts for DM
This adds an implementation of puts for DM. The implementation is not as clean as for the non-DM puts because we have to handle non-nul-terminated string. We also handle short writes (though these are probably very unusual). Signed-off-by: Sean Anderson <[email protected]>
Diffstat (limited to 'drivers/serial/Kconfig')
-rw-r--r--drivers/serial/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 6b189f8be05..dc514c95d33 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -834,6 +834,7 @@ config SH_SCIF_CLK_FREQ
config SEMIHOSTING_SERIAL
bool "Semihosting UART support"
depends on SEMIHOSTING && !SERIAL_RX_BUFFER
+ imply SERIAL_PUTS
help
Select this to enable a serial UART using semihosting. Special halt
instructions will be issued which an external debugger (such as a