* [U-Boot] [PATCH v4] arm: printf() is not available in some SPL configurations
@ 2011-11-29 10:11 Christian Riesch
2011-11-29 19:37 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Christian Riesch @ 2011-11-29 10:11 UTC (permalink / raw)
To: u-boot
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>
---
Hi,
this v4 of a patch out of my recent patchset
[PATCH v3 00/15] Add an SPL to boot the da850evm from SPI
http://lists.denx.de/pipermail/u-boot/2011-November/111182.html
Changes for v4:
- split the patchset since it is getting quite big
- added the Acked-bys
Regards, Christian
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH v4] arm: printf() is not available in some SPL configurations
2011-11-29 10:11 [U-Boot] [PATCH v4] arm: printf() is not available in some SPL configurations Christian Riesch
@ 2011-11-29 19:37 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2011-11-29 19:37 UTC (permalink / raw)
To: u-boot
On Tue, Nov 29, 2011 at 3:11 AM, Christian Riesch
<christian.riesch@omicron.at> wrote:
> 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>
(Will be) queued to u-boot-ti, thanks for your patience.
--
Tom
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-29 19:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-29 10:11 [U-Boot] [PATCH v4] arm: printf() is not available in some SPL configurations Christian Riesch
2011-11-29 19:37 ` Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.