omap3evm: eth: Include functions only when necessary
authorSanjeev Premi <premi@ti.com>
Mon, 18 Jul 2011 13:23:00 +0000 (09:23 -0400)
committerU-Boot <uboot@aari01-12.(none)>
Wed, 3 Aug 2011 10:49:19 +0000 (12:49 +0200)
commit5626f336caa7d19e7a79bd836a221a6899dc70b5
tree3e873f7ba001ee4754c6afa83ab9f0b147fb109a
parentc06825873dbc977028c393cb9cbe320634cb5785
omap3evm: eth: Include functions only when necessary

These functions are not required when CONFIG_CMD_NET
is not defined:
  - setup_net_chip()
  - reset_net_chip()
  - board_eth_init()

This patch wraps them in #ifdef CONFIG_CMD_NET...#endif

Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
board/ti/evm/evm.c