[coreboot-gerrit] New patch to review for coreboot: c4c9726 mainboard/supermicro/h8dme: Unused func warn

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Fri May 23 18:13:20 CEST 2014


Edward O'Callaghan (eocallaghan at alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5828

-gerrit

commit c4c97262c37e1dc832e0bb26d88e8d827be53ddc
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Sat May 24 01:45:41 2014 +1000

    mainboard/supermicro/h8dme: Unused func warn
    
    Clang complains about a unused debug function, so #if 0 it out so
    abuilds move forward with Clang.
    
    Change-Id: I5a9a785fcd90761789aaa029f712f1feddd2afd1
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 src/mainboard/supermicro/h8dme/romstage.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mainboard/supermicro/h8dme/romstage.c b/src/mainboard/supermicro/h8dme/romstage.c
index df5e2c8..b351ccd 100644
--- a/src/mainboard/supermicro/h8dme/romstage.c
+++ b/src/mainboard/supermicro/h8dme/romstage.c
@@ -45,6 +45,7 @@
 
 static void memreset(int controllers, const struct mem_controller *ctrl) { }
 
+#if 0
 static inline void dump_smbus_registers(void)
 {
 	u32 device;
@@ -71,6 +72,7 @@ static inline void dump_smbus_registers(void)
 		print_debug("\n");
 	}
 }
+#endif
 
 static inline void activate_spd_rom(const struct mem_controller *ctrl)
 {



More information about the coreboot-gerrit mailing list