--- On Wed, 1/28/09, Scott Wood <[email protected]> wrote: > From: Scott Wood <[email protected]> > Subject: Re: [U-Boot] [PATCH] mpc83xx: fix undefined reference to > `flush_cache' error in simpc8313 build > To: "Wolfgang Denk" <[email protected]> > Cc: [email protected], [email protected], "Kim Phillips" > <[email protected]> > Date: Wednesday, January 28, 2009, 12:24 PM > Wolfgang Denk wrote: > > It fails for me, too, but differently: > > > > -> ./MAKEALL SIMPC8313_LP > > ...Large Page NAND...Configuring for SIMPC8313 > board... > > ppc_5xx-ld: NAND bootstrap too big > > ppc_5xx-ld: NAND bootstrap too big > > make[1]: *** > [/home/wd/git/u-boot/work/nand_spl/u-boot-spl] Error 1 > > make: *** [nand_spl] Error 2 > > make: *** Waiting for unfinished jobs.... > > We could cut out some bytes by making the large/small page > distinction at compile-time rather than runtime. Also, some > of the strings could be cut down in size, and we could use > raw accessors plus explicit barriers.
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. Ron _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

