[PATCH 1/6] ARM OMAP4: Turn puts into debug

Sascha Hauer s.hauer at pengutronix.de
Thu Nov 1 03:55:43 EDT 2012


When compiled with pbl support puts is not available, so turn it
into debug.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/mach-omap/omap4_clock.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-omap/omap4_clock.c b/arch/arm/mach-omap/omap4_clock.c
index 1481f16..b489d59 100644
--- a/arch/arm/mach-omap/omap4_clock.c
+++ b/arch/arm/mach-omap/omap4_clock.c
@@ -410,5 +410,5 @@ void omap4_do_scale_tps62361(u32 reg, u32 volt_mv)
 	writel(temp, OMAP44XX_PRM_VC_VAL_BYPASS);
 	if (!wait_on_value(OMAP44XX_PRM_VC_VAL_BYPASS_VALID_BIT, 0,
 				OMAP44XX_PRM_VC_VAL_BYPASS, LDELAY))
-		puts("Scaling voltage failed for vdd_mpu from TPS\n");
+		debug("Scaling voltage failed for vdd_mpu from TPS\n");
 }
-- 
1.7.10.4




More information about the barebox mailing list