OSDN Git Service

ppc405_boards: Disable debug output
authorAndreas Färber <afaerber@suse.de>
Mon, 5 Aug 2013 13:27:21 +0000 (15:27 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 2 Sep 2013 08:06:41 +0000 (10:06 +0200)
Also move one stray debug output into an #ifdef.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/ppc405_boards.c

index f74e5e5..807ada0 100644 (file)
@@ -42,7 +42,7 @@
 
 #define USE_FLASH_BIOS
 
-#define DEBUG_BOARD_INIT
+//#define DEBUG_BOARD_INIT
 
 /*****************************************************************************/
 /* PPC405EP reference board (IBM) */
@@ -353,9 +353,9 @@ static void ref405ep_init(QEMUMachineInitArgs *args)
         bdloc = 0;
     }
 #ifdef DEBUG_BOARD_INIT
+    printf("bdloc " RAM_ADDR_FMT "\n", bdloc);
     printf("%s: Done\n", __func__);
 #endif
-    printf("bdloc " RAM_ADDR_FMT "\n", bdloc);
 }
 
 static QEMUMachine ref405ep_machine = {