]> git.sur5r.net Git - u-boot/blobdiff - post/uart.c
Add configuration for wtk board
[u-boot] / post / uart.c
index 354c6c7a3d868fe1510dfc0448b810aaaf7d2a6c..15df74eef4f5c314e85c4ce5be1288d66479b524 100644 (file)
@@ -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
 
@@ -73,7 +72,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[] =