arm: printf() is not available in some SPL configurations

This patch avoids build breakage for SPLs that do not support printf.

Signed-off-by: Christian Riesch <christian.riesch@omicron.at>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Acked-by: Tom Rini <trini@ti.com>
Acked-by: Andreas Bießmann <andreas.devel@googlemail.com>
master
Christian Riesch 13 years ago committed by Albert ARIBAUD
parent f7264c36cd
commit 5cb939fb04
  1. 2
      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;
}

Loading…
Cancel
Save