mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
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>
This commit is contained in:
parent
f7264c36cd
commit
5cb939fb04
1 changed files with 2 additions and 0 deletions
|
@ -13,7 +13,9 @@
|
||||||
|
|
||||||
int raise (int signum)
|
int raise (int signum)
|
||||||
{
|
{
|
||||||
|
#if !defined(CONFIG_SPL_BUILD) || defined(CONFIG_SPL_LIBCOMMON_SUPPORT)
|
||||||
printf("raise: Signal # %d caught\n", signum);
|
printf("raise: Signal # %d caught\n", signum);
|
||||||
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue