summaryrefslogtreecommitdiff
path: root/post
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-05-12 21:50:16 +0000
committerwdenk <wdenk>2003-05-12 21:50:16 +0000
commit45219c46605f9b933ab454738ee4ce543d5b70d6 (patch)
treedae6530a55b6b7b5a6974a5c557637419256a2ec /post
parentf7de16ae259fd01afe1d342dd0247dc9d3911edd (diff)
downloadu-boot-imx-45219c46605f9b933ab454738ee4ce543d5b70d6.zip
u-boot-imx-45219c46605f9b933ab454738ee4ce543d5b70d6.tar.gz
u-boot-imx-45219c46605f9b933ab454738ee4ce543d5b70d6.tar.bz2
Patch by Mathijs Haarman, 08 May 2003:
Add lan91c96 driver (tested on Lubbock and custom PXA250 board only)
Diffstat (limited to 'post')
-rw-r--r--post/sysmon.c4
-rw-r--r--post/uart.c2
2 files changed, 4 insertions, 2 deletions
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 <watchdog.h>
#include <i2c.h>
-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[] =