summaryrefslogtreecommitdiff
path: root/src/pc80
diff options
context:
space:
mode:
Diffstat (limited to 'src/pc80')
-rw-r--r--src/pc80/mc146818rtc.c2
-rw-r--r--src/pc80/udelay_io.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/pc80/mc146818rtc.c b/src/pc80/mc146818rtc.c
index e851bdceb8..fe3c13cd1d 100644
--- a/src/pc80/mc146818rtc.c
+++ b/src/pc80/mc146818rtc.c
@@ -133,8 +133,10 @@ static void rtc_set_checksum(int range_start, int range_end, int cks_loc)
void rtc_init(int invalid)
{
+#if CONFIG_HAVE_OPTION_TABLE
unsigned char x;
int cmos_invalid, checksum_invalid;
+#endif
printk_debug("RTC Init\n");
diff --git a/src/pc80/udelay_io.c b/src/pc80/udelay_io.c
index 7a5320e370..37f3f73186 100644
--- a/src/pc80/udelay_io.c
+++ b/src/pc80/udelay_io.c
@@ -1,4 +1,5 @@
#include <arch/io.h>
+#include <delay.h>
void udelay(unsigned usecs)
{