From 45219c46605f9b933ab454738ee4ce543d5b70d6 Mon Sep 17 00:00:00 2001 From: wdenk Date: Mon, 12 May 2003 21:50:16 +0000 Subject: Patch by Mathijs Haarman, 08 May 2003: Add lan91c96 driver (tested on Lubbock and custom PXA250 board only) --- post/sysmon.c | 4 ++-- post/uart.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'post') diff --git a/post/sysmon.c b/post/sysmon.c index c8fcefc..f069caa 100644 --- a/post/sysmon.c +++ b/post/sysmon.c @@ -50,10 +50,10 @@ #include #include -static int sysmon_temp_invalid = 0; - #if CONFIG_POST & CFG_POST_SYSMON +static int sysmon_temp_invalid = 0; + /* #define DEBUG */ #define RELOC(x) if (x != NULL) x = (void *) ((ulong) (x) + gd->reloc_off) diff --git a/post/uart.c b/post/uart.c index 354c6c7..3eaafd8 100644 --- a/post/uart.c +++ b/post/uart.c @@ -73,7 +73,9 @@ static struct { static char *ctlr_name[2] = { "SMC", "SCC" }; static int used_by_uart[2] = { -1, -1 }; +#if defined(SCC_ENET) static int used_by_ether[2] = { -1, -1 }; +#endif static int proff_smc[] = { PROFF_SMC1, PROFF_SMC2 }; static int proff_scc[] = -- cgit v1.1