From 534c8a013ff57c2b7dc15f55dea0cf4dbf3ce7bd Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Mon, 26 Nov 2012 15:07:39 -0800 Subject: [PATCH] Conditionally #include mc1468181rtc if CMOS_POST is enabled This will omit the mc1468181rtc header if it is not needed. Currently it contains a lot of inlined functions which depend on architecture- specific IO. Change-Id: I4ef1bc1362c159e0c780c3eade01af04f029f949 Signed-off-by: David Hendricks Reviewed-on: http://review.coreboot.org/1916 Reviewed-by: Ronald G. Minnich Tested-by: build bot (Jenkins) --- src/console/post.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/console/post.c b/src/console/post.c index 81a9d398c7..f55683e4d1 100644 --- a/src/console/post.c +++ b/src/console/post.c @@ -21,7 +21,9 @@ #include #include +#if CONFIG_CMOS_POST #include +#endif #include /* Write POST information */