]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
sparc: ambapp: Removed warning and unnecessary printout.
authorDaniel Hellstrom <daniel@gaisler.com>
Mon, 20 Sep 2010 08:00:49 +0000 (10:00 +0200)
committerFrancois Retief <fgretief@spaceteq.co.za>
Fri, 13 Nov 2015 08:23:33 +0000 (10:23 +0200)
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
arch/sparc/cpu/leon3/ambapp.c

index bb81338dac6286409d413873c4b6e12c13fe29b8..b8ac05faf12c50c1bbe3ed3e8d94020d3d0ed231 100644 (file)
@@ -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);