Ron Madrid wrote:
> It would seem that the drivers/serial/ns16550.c file currently being
> included in my project has a few functions that are completely unused
> by my board.  Is it allowable to duplicate the two functions I do use
> (NS16550_putc and NS16550_init) in my code within a #ifdef CONFIG_NAND_SPL? 
> This saves about 120 (decimal) bytes in the bootstrap image.

Maybe just put #ifndef CONFIG_NAND_SPL in the existing file?  I'm 
assuming that none of the other boards are going to need anything other 
than init and putc in their NAND loaders.

-Scott
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to