summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hellstrom <daniel@gaisler.com>2010-09-20 10:00:49 +0200
committerFrancois Retief <fgretief@spaceteq.co.za>2015-11-13 10:23:33 +0200
commit5786071e4a3b9091940580c208e27d21fdc269cf (patch)
treeb9e1d32ec83cfd4a08e51c9519bd69512b492625
parentf2879f5952b35009c76de92ca57d67ab628bac0c (diff)
downloadu-boot-imx-5786071e4a3b9091940580c208e27d21fdc269cf.zip
u-boot-imx-5786071e4a3b9091940580c208e27d21fdc269cf.tar.gz
u-boot-imx-5786071e4a3b9091940580c208e27d21fdc269cf.tar.bz2
sparc: ambapp: Removed warning and unnecessary printout.
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
-rw-r--r--arch/sparc/cpu/leon3/ambapp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sparc/cpu/leon3/ambapp.c b/arch/sparc/cpu/leon3/ambapp.c
index bb81338..b8ac05f 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);