public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] mpc83xx: fix undefined reference to `flush_cache' error in simpc8313 build
Date: Wed, 28 Jan 2009 16:26:06 -0600	[thread overview]
Message-ID: <4980DB7E.1060104@freescale.com> (raw)
In-Reply-To: <820349.28192.qm@web83502.mail.sp1.yahoo.com>

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

  reply	other threads:[~2009-01-28 22:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-27 22:03 [U-Boot] [PATCH] mpc83xx: fix undefined reference to `flush_cache' error in simpc8313 build Kim Phillips
2009-01-28  9:01 ` Wolfgang Denk
2009-01-28 18:45   ` Ron Madrid
2009-01-28 19:18     ` Wolfgang Denk
2009-01-28 19:21       ` Ron Madrid
2009-01-28 20:24       ` Scott Wood
2009-01-28 22:24         ` Ron Madrid
2009-01-28 22:26           ` Scott Wood [this message]
2009-01-28 22:59             ` Ron Madrid

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4980DB7E.1060104@freescale.com \
    --to=scottwood@freescale.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox