summaryrefslogtreecommitdiff
path: root/post
diff options
context:
space:
mode:
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 c8fcefca77..f069caa19d 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 354c6c7a3d..3eaafd8203 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[] =