Remove debugging code, or convert it to be selected by kconfig
authorJonathan A. Kollasch <jakllsch@kollasch.net>
Wed, 3 Aug 2011 18:56:24 +0000 (13:56 -0500)
committerPatrick Georgi <patrick@georgi-clan.de>
Wed, 3 Aug 2011 19:28:14 +0000 (21:28 +0200)
Change-Id: Ib6cd82badeb6401e065ee14c2a04c78f61a87dd4
Signed-off-by: Jonathan A. Kollasch <jakllsch@kollasch.net>
Reviewed-on: http://review.coreboot.org/130
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
src/mainboard/msi/ms7135/romstage.c

index 5feef79625d01537c9eeb1f48300678f953c7da6..80b3c19bde6af01a9fb1917e929e773dad321238 100644 (file)
@@ -112,10 +112,6 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
        /* Halt if there was a built in self test failure */
        report_bist_failure(bist);
 
-#if 0
-       dump_pci_device(PCI_DEV(0, 0x18, 0));
-#endif
-
        needs_reset = setup_coherent_ht_domain();
 
        wait_all_core0_started();
@@ -140,17 +136,12 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 
        enable_smbus();
 
-#if 0
+#if CONFIG_DEBUG_SMBUS
        dump_spd_registers(&ctrl[0]);
        dump_smbus_registers();
 #endif
 
        sdram_initialize(nodes, ctrl);
 
-#if 0
-       print_pci_devices();
-       dump_pci_devices();
-#endif
-
        post_cache_as_ram();
 }