[U-Boot] putc

Martin Dorwig dorwig at tetronik.com
Tue Oct 28 14:23:22 CET 2014


Hello,
after updating u-boot from git v2014.10
i just noticed that my standalone  application outputs garbage using putc.
after some investigation i found that the gd->jt[XF_putc] is assigned a 
dev->putc pointer in "common/console.c function console_setfile"

the dev->putc is declared in include/stdio_dev.h as 
void (*putc)(struct stdio_dev *dev, const char c);

int include/exports.h this function is declared as
void putc(const char); 

this was introduced with commit id 709ea543b92489e7729d2d7ddd6c9f451e52158c

regards
Martin



More information about the U-Boot mailing list