From 53b0ea4bf24c0ae51aa9f8447d4ce9d44d46af72 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Mon, 22 Mar 2010 11:50:52 +0000 Subject: drop some unused files and fix warnings on i945 based systems. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5267 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/pc80/mc146818rtc_early.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/pc80') diff --git a/src/pc80/mc146818rtc_early.c b/src/pc80/mc146818rtc_early.c index dc601ebd12..ad5a4dc638 100644 --- a/src/pc80/mc146818rtc_early.c +++ b/src/pc80/mc146818rtc_early.c @@ -57,14 +57,14 @@ static int cmos_chksum_valid(void) } -static int last_boot_normal(void) +static inline int last_boot_normal(void) { unsigned char byte; byte = cmos_read(RTC_BOOT_BYTE); return (byte & (1 << 1)); } -static int do_normal_boot(void) +static inline int do_normal_boot(void) { unsigned char byte; @@ -107,7 +107,7 @@ static int do_normal_boot(void) return (byte & (1<<1)); } -static unsigned read_option(unsigned start, unsigned size, unsigned def) +static inline unsigned read_option(unsigned start, unsigned size, unsigned def) { #if CONFIG_USE_OPTION_TABLE == 1 unsigned byte; -- cgit v1.2.3