summaryrefslogtreecommitdiffstats
path: root/post/ether.c
diff options
context:
space:
mode:
Diffstat (limited to 'post/ether.c')
-rw-r--r--post/ether.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/post/ether.c b/post/ether.c
index d174ad1c01..0a8b36fcad 100644
--- a/post/ether.c
+++ b/post/ether.c
@@ -38,7 +38,7 @@
#ifdef CONFIG_POST
#include <post.h>
-
+#if CONFIG_POST & CFG_POST_ETHER
#if defined(CONFIG_8xx)
#include <commproc.h>
#elif defined(CONFIG_MPC8260)
@@ -50,8 +50,6 @@
#include <command.h>
#include <net.h>
-#if CONFIG_POST & CFG_POST_ETHER
-
#define MIN_PACKET_LENGTH 64
#define MAX_PACKET_LENGTH 256
#define TEST_NUM 1
OpenPOWER on IntegriCloud