Signed-off-by: Ricardo Salveti de Araujo <ricardo...@linaro.org>
include/common.h | 2 +-
lib/printf.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/common.h b/include/common.h
index ffaf582..a3c5092 100644
@@ -98,7 +98,7 @@ int serial_getc (void);
int serial_tstc (void);
/* lib/printf.c */
-void serial_printf (const char *fmt, ...);
+int serial_printf (const char *fmt, ...);
/* lib/crc.c */
diff --git a/lib/printf.c b/lib/printf.c
index 91d22fc..b1dfe0b 100644
@@ -284,7 +284,7 @@ static int vsprintf(char *buf, const char *fmt, va_list args)
-void serial_printf (const char *fmt, ...)
+int serial_printf (const char *fmt, ...)
@@ -300,5 +300,6 @@ void serial_printf (const char *fmt, ...)
/* Print the string */
+ return i;
> To unsubscribe from this group, email: x-loader+u...@googlegroups.com
> For more options: http://groups.google.com/group/x-loader?hl=en?hl=en
> Home Page: http://gitorious.org/x-loader
I'm on it.
Sorry for the delay - I've been out of office a really long time,
and I no longer have a decent internet connection at my new home
(curses Airtel and Bangalore govt bureaucrats).
Well, first I took the top two from my mailbox which I had an
incentive to use on my own board, but I had completely forgotten
about the 2 RFC series from Enric - I'm trying those out now.
Do you know any others I might be missing?
IIRC joel sent a patch for beagle as well a few weeks ago, here's a copy:
Just checking if you were doing LIFO or FIFO :)
It's not in the list archives, so I'm not sure if this was sent to
the x-loader mailing list.
I'll pick it up and merge it later today.
Found it in the mailing list archives - don't know how I missed it earlier.