diff options
Diffstat (limited to 'include/serial.h')
-rw-r--r-- | include/serial.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/serial.h b/include/serial.h index e6d3859..08d106a 100644 --- a/include/serial.h +++ b/include/serial.h @@ -1,6 +1,8 @@ #ifndef __SERIAL_H__ #define __SERIAL_H__ +#include <post.h> + #define NAMESIZE 16 struct serial_device { @@ -13,6 +15,9 @@ struct serial_device { int (*tstc) (void); void (*putc) (const char c); void (*puts) (const char *s); +#if CONFIG_POST & CONFIG_SYS_POST_UART + void (*loop) (int); +#endif struct serial_device *next; }; |