From 08079eca29e01ad586216376891a2e2933b0e097 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Thu, 8 Jan 2015 01:57:43 +1100 Subject: [PATCH] mainboard/packardbell/ms2290/romstage.c: Comment unused func MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Take unused reverse eng function out of build by wrapping in #if 0. Change-Id: I816b3ea08a8858fc03e4455c1d7711265e63cba4 Signed-off-by: Edward O'Callaghan Reviewed-on: http://review.coreboot.org/8167 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/mainboard/packardbell/ms2290/romstage.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mainboard/packardbell/ms2290/romstage.c b/src/mainboard/packardbell/ms2290/romstage.c index a366d387ca..f702e9f0c3 100644 --- a/src/mainboard/packardbell/ms2290/romstage.c +++ b/src/mainboard/packardbell/ms2290/romstage.c @@ -163,10 +163,13 @@ static inline u32 read_acpi32(u32 addr) return inl(DEFAULT_PMBASE | addr); } +// unused func - used for RE +#if 0 static inline u16 read_acpi16(u32 addr) { return inw(DEFAULT_PMBASE | addr); } +#endif #include void main(unsigned long bist)