summaryrefslogtreecommitdiff
path: root/board/at91sam9261ek/at91sam9261ek.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/at91sam9261ek/at91sam9261ek.c')
-rw-r--r--board/at91sam9261ek/at91sam9261ek.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/at91sam9261ek/at91sam9261ek.c b/board/at91sam9261ek/at91sam9261ek.c
index 003f846b82..b7ef19291c 100644
--- a/board/at91sam9261ek/at91sam9261ek.c
+++ b/board/at91sam9261ek/at91sam9261ek.c
@@ -130,8 +130,8 @@ int board_late_init(void)
DECLARE_GLOBAL_DATA_PTR;
/* Fix Ethernet Initialization Bug when starting Linux from U-Boot */
-#if (CONFIG_COMMANDS & CFG_CMD_NET)
-#ifdef CONFIG_DRIVER_DM9000
+#ifdef CONFIG_CMD_NET
+#ifdef CONFIG_DRIVER_DM9000
/* configure SMC's NCS2 to use it with DM9000 chip */
at91sam9261ek_dm9000_init();
#endif