diff options
author | Christian Riesch <christian.riesch@omicron.at> | 2011-11-29 00:11:03 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-12-06 23:59:37 +0100 |
commit | 5cb939fb04a3d5f2ca1174a367a3fc27aed30c6a (patch) | |
tree | 12892d775b5597be78918e439261d1a7e736f879 /arch | |
parent | f7264c36cde2d9423798fd7a93cd20698f426b44 (diff) | |
download | u-boot-imx-5cb939fb04a3d5f2ca1174a367a3fc27aed30c6a.zip u-boot-imx-5cb939fb04a3d5f2ca1174a367a3fc27aed30c6a.tar.gz u-boot-imx-5cb939fb04a3d5f2ca1174a367a3fc27aed30c6a.tar.bz2 |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | 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; } |