On Fri, Nov 25, 2011 at 5:37 AM, Christian Riesch <christian.rie...@omicron.at> wrote: > This patch avoids build breakage for SPLs that do not support printf. > > Signed-off-by: Christian Riesch <christian.rie...@omicron.at> > Cc: Wolfgang Denk <w...@denx.de> > Cc: Tom Rini <tom.r...@gmail.com> > Cc: Andreas Bießmann <andreas.de...@googlemail.com> > Cc: Scott Wood <scottw...@freescale.com>
Acked-by: Tom Rini <tr...@ti.com> > --- > arch/arm/lib/eabi_compat.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/lib/eabi_compat.c b/arch/arm/lib/eabi_compat.c > index eb3e26d..e1b87be 100644 > --- a/arch/arm/lib/eabi_compat.c > +++ b/arch/arm/lib/eabi_compat.c > @@ -13,7 +13,9 @@ > > int raise (int signum) > { > +#if !defined(CONFIG_SPL_BUILD) || defined(CONFIG_SPL_LIBCOMMON_SUPPORT) > printf("raise: Signal # %d caught\n", signum); > +#endif > return 0; > } > > -- > 1.7.0.4 > > -- Tom _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot