summaryrefslogtreecommitdiff
path: root/post/uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'post/uart.c')
-rw-r--r--post/uart.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/post/uart.c b/post/uart.c
index 3eaafd8..15df74e 100644
--- a/post/uart.c
+++ b/post/uart.c
@@ -39,6 +39,7 @@
#ifdef CONFIG_POST
#include <post.h>
+#if CONFIG_POST & CFG_POST_UART
#if defined(CONFIG_8xx)
#include <commproc.h>
#elif defined(CONFIG_MPC8260)
@@ -49,8 +50,6 @@
#include <command.h>
#include <net.h>
-#if CONFIG_POST & CFG_POST_UART
-
#define CTLR_SMC 0
#define CTLR_SCC 1