[U-Boot] [PATCH v2] Create configuration option for restricted ns16550 functions

Kim Phillips kim.phillips at freescale.com
Wed Feb 18 21:01:59 CET 2009


On Wed, 18 Feb 2009 19:29:27 +0100
Wolfgang Denk <wd at denx.de> wrote:

> > +#else
> > +char NS16550_getc (NS16550_t com_port) { }
> > +int NS16550_tstc (NS16550_t com_port) { }
> 
> If these functions are supposed to return "char" resp. "int", you will
> get casty compiler warnings with an empty function body.

I didn't see them, but anyway, please consider this patch (u-boot-spl
is 32 bytes smaller than previous empty-fn-body based patch):



More information about the U-Boot mailing list