diff options
author | Marco Felsch <m.felsch@pengutronix.de> | 2024-03-19 16:47:18 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2024-04-04 08:26:50 +0200 |
commit | c7d239a3fe1757f090fcaeaa59ba2ee9b634f869 (patch) | |
tree | e683cec6fcccb323c59aa39de765c68b2f81fbb9 /include | |
parent | 9e62b07d558545fbea385fec05fb0278d76db2a7 (diff) | |
download | barebox-c7d239a3fe1757f090fcaeaa59ba2ee9b634f869.tar.gz barebox-c7d239a3fe1757f090fcaeaa59ba2ee9b634f869.tar.xz |
console: make console_set_stdoutpath public
This can be an very useful helper for boards to setup the linux console
boot param.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Link: https://lore.barebox.org/20240319154718.3510015-1-m.felsch@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/console.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/console.h b/include/console.h index 69c0ec144b..62d13d7aa0 100644 --- a/include/console.h +++ b/include/console.h @@ -102,6 +102,7 @@ int console_set_active(struct console_device *cdev, unsigned active); unsigned console_get_active(struct console_device *cdev); int console_set_baudrate(struct console_device *cdev, unsigned baudrate); unsigned console_get_baudrate(struct console_device *cdev); +void console_set_stdoutpath(struct console_device *cdev, unsigned baudrate); struct console_device *of_console_by_stdout_path(void); |