summaryrefslogtreecommitdiff
path: root/board/bf537-stamp/ether_bf537.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/bf537-stamp/ether_bf537.c')
-rw-r--r--board/bf537-stamp/ether_bf537.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/bf537-stamp/ether_bf537.c b/board/bf537-stamp/ether_bf537.c
index 807b9e839b..36c1536e39 100644
--- a/board/bf537-stamp/ether_bf537.c
+++ b/board/bf537-stamp/ether_bf537.c
@@ -42,7 +42,7 @@
#define DEBUGF(fmt,args...)
#endif
-#if (CONFIG_COMMANDS & CFG_CMD_NET)
+#if defined(CONFIG_CMD_NET)
#define RXBUF_BASE_ADDR 0xFF900000
#define TXBUF_BASE_ADDR 0xFF800000
@@ -542,4 +542,4 @@ int ether_post_test(int flags)
return 0;
}
#endif
-#endif /* CFG_CMD_NET */
+#endif