summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/ti/evm/evm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/ti/evm/evm.c b/board/ti/evm/evm.c
index 2c95fae..30c1c57 100644
--- a/board/ti/evm/evm.c
+++ b/board/ti/evm/evm.c
@@ -153,6 +153,7 @@ void set_muxconf_regs(void)
MUX_EVM();
}
+#ifdef CONFIG_CMD_NET
/*
* Routine: setup_net_chip
* Description: Setting up the configuration GPMC registers specific to the
@@ -219,3 +220,4 @@ int board_eth_init(bd_t *bis)
#endif
return rc;
}
+#endif /* CONFIG_CMD_NET */