summaryrefslogtreecommitdiff
path: root/include/serial.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-12-29 00:23:07 +0300
committerSimon Glass <sjg@chromium.org>2019-01-15 03:47:13 +0300
commit0171f432047e86305593bb1eb1cc86f853e55029 (patch)
treed195e987c3ce941087d37eb4eca617ae94a914aa /include/serial.h
parentccd2979a8d59636ca0cf288db03e1298dc120123 (diff)
downloadu-boot-0171f432047e86305593bb1eb1cc86f853e55029.tar.xz
serial: Move new functions to serial.h
We should not be adding new functions to common.h. Move these recently added functions to serial.h. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Diffstat (limited to 'include/serial.h')
-rw-r--r--include/serial.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/serial.h b/include/serial.h
index c1a9fee250..fa7e0130bd 100644
--- a/include/serial.h
+++ b/include/serial.h
@@ -281,6 +281,10 @@ struct serial_dev_priv {
/* Access the serial operations for a device */
#define serial_get_ops(dev) ((struct dm_serial_ops *)(dev)->driver->ops)
+int serial_getconfig(uint *config);
+int serial_setconfig(uint config);
+int serial_getinfo(struct serial_device_info *info);
+
void atmel_serial_initialize(void);
void mcf_serial_initialize(void);
void mpc85xx_serial_initialize(void);