[coreboot-gerrit] Patch set updated for coreboot: 60246b8 mainboard/lenovo/x201/romstage.c: Avoid unused func warning

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Wed Jan 7 16:31:47 CET 2015


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

-gerrit

commit 60246b8d7bbe7cbb990b4797a1a0476e1034a467
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Wed Jan 7 15:55:32 2015 +1100

    mainboard/lenovo/x201/romstage.c: Avoid unused func warning
    
    Change-Id: I646dddd39e61b59358b29a49239c0a1de77c7e55
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 src/mainboard/lenovo/x201/romstage.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/mainboard/lenovo/x201/romstage.c b/src/mainboard/lenovo/x201/romstage.c
index 64011b1..535c373 100644
--- a/src/mainboard/lenovo/x201/romstage.c
+++ b/src/mainboard/lenovo/x201/romstage.c
@@ -167,10 +167,14 @@ static inline u32 read_acpi32(u32 addr)
 	return inl(DEFAULT_PMBASE | addr);
 }
 
+// Used for reverse engining purposes
+// avoid unused func compiler warn
+#if 0
 static inline u16 read_acpi16(u32 addr)
 {
 	return inw(DEFAULT_PMBASE | addr);
 }
+#endif
 
 static void set_fsb_frequency(void)
 {



More information about the coreboot-gerrit mailing list