X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fserial.h;h=08d106a7c05870516e640809a4d14cc340ebb433;hb=f9a78b8d4f1e9b42eb0563029a22fd6c34390088;hp=e6d3859bd929dc734b5c9b51eb29fada40c680c9;hpb=1c9a5606d8ff0c664c9e83de38e93d5602312d79;p=u-boot diff --git a/include/serial.h b/include/serial.h index e6d3859bd9..08d106a7c0 100644 --- a/include/serial.h +++ b/include/serial.h @@ -1,6 +1,8 @@ #ifndef __SERIAL_H__ #define __SERIAL_H__ +#include + #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; };