[U-Boot] [RFC PATCH 4/8] arm: printf() is not available in the SPL

Christian Riesch christian.riesch at omicron.at
Tue Nov 15 11:37:28 CET 2011


Signed-off-by: Christian Riesch <christian.riesch at omicron.at>
Cc: Wolfgang Denk <wd at denx.de>
---
 arch/arm/lib/eabi_compat.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/arm/lib/eabi_compat.c b/arch/arm/lib/eabi_compat.c
index eb3e26d..2d49a28 100644
--- a/arch/arm/lib/eabi_compat.c
+++ b/arch/arm/lib/eabi_compat.c
@@ -13,10 +13,13 @@
 
 int raise (int signum)
 {
+#ifndef CONFIG_SPL_BUILD
 	printf("raise: Signal # %d caught\n", signum);
+#endif
 	return 0;
 }
 
+
 /* Dummy function to avoid linker complaints */
 void __aeabi_unwind_cpp_pr0(void)
 {
-- 
1.7.0.4



More information about the U-Boot mailing list