Skip to content
Snippets Groups Projects
Commit 5626f336 authored by Sanjeev Premi's avatar Sanjeev Premi Committed by U-Boot
Browse files

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: default avatarSanjeev Premi <premi@ti.com>
Signed-off-by: default avatarSandeep Paulraj <s-paulraj@ti.com>
parent c0682587
Branches
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment