[U-Boot] [PATCH v2 11/12] sparc: ambapp: Removed warning and unnecessary printout.

Francois Retief fgretief at spaceteq.co.za
Fri Nov 13 09:33:48 CET 2015


From: Daniel Hellstrom <daniel at gaisler.com>

Signed-off-by: Daniel Hellstrom <daniel at gaisler.com>
Signed-off-by: Francois Retief <fgretief at spaceteq.co.za>
---

 arch/sparc/cpu/leon3/ambapp.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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);
--
2.4.3


________________________________
Disclaimer and confidentiality note – refer to our website for further details: www.spaceteq.co.za <http://www.spaceteq.co.za/home/emaildisclaimer/>


More information about the U-Boot mailing list