From: Daniel Hellstrom <daniel@gaisler.com>
Date: Mon, 20 Sep 2010 08:00:49 +0000 (+0200)
Subject: sparc: ambapp: Removed warning and unnecessary printout.
X-Git-Tag: v2025.01-rc5-pxa1908~11212^2~1
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/gitweb.css?a=commitdiff_plain;h=5786071e4a3b9091940580c208e27d21fdc269cf;p=u-boot.git

sparc: ambapp: Removed warning and unnecessary printout.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
---

diff --git a/arch/sparc/cpu/leon3/ambapp.c b/arch/sparc/cpu/leon3/ambapp.c
index bb81338dac..b8ac05faf1 100644
--- a/arch/sparc/cpu/leon3/ambapp.c
+++ b/arch/sparc/cpu/leon3/ambapp.c
@@ -10,6 +10,7 @@
 /* #define DEBUG */
 
 #include <common.h>
+#include <malloc.h>
 #include <ambapp.h>
 #include <config.h>
 
@@ -257,7 +258,7 @@ unsigned int ambapp_bus_freq(struct ambapp_bus *abus, int ahb_bus_index)
 		/* Get I/O area of AHB bus */
 		ioarea = abus->ioareas[ahb_bus_index];
 
-		printf("  IOAREA: 0x%08x\n", ioarea);
+		debug("  IOAREA: 0x%08x\n", ioarea);
 
 		/* Get parent bus */
 		parent = (ioarea & 0x7);