summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2015-01-08 01:57:43 +1100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2015-01-09 05:35:56 +0100
commit08079eca29e01ad586216376891a2e2933b0e097 (patch)
tree38584434e63e8f4da333bb93924ab507801ee7ca /src/mainboard
parent5e06850c0f588a58f06bbc720bd7f6dd31654940 (diff)
downloadcoreboot-08079eca29e01ad586216376891a2e2933b0e097.tar.xz
mainboard/packardbell/ms2290/romstage.c: Comment unused func
Take unused reverse eng function out of build by wrapping in #if 0. Change-Id: I816b3ea08a8858fc03e4455c1d7711265e63cba4 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/8167 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/packardbell/ms2290/romstage.c3
1 files changed, 3 insertions, 0 deletions
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 <cpu/intel/romstage.h>
void main(unsigned long bist)