ti: am335x: Fix build when networking is disabled
authorAlex Kiernan <alex.kiernan@gmail.com>
Sun, 1 Apr 2018 09:22:37 +0000 (09:22 +0000)
committerTom Rini <trini@konsulko.com>
Mon, 9 Apr 2018 03:00:58 +0000 (23:00 -0400)
commit8cf2f3602e6778b207f3a95fda6be3fc420a8162
tree3bd1597bf8d216e4ff3bfbcfc7a69ffc67186a6a
parenta18d1064db93490422b968bac1a9e10387a34cfc
ti: am335x: Fix build when networking is disabled

When compiling without CONFIG_CLOCK_SYNTHESIZER (which is implied by
CONFIG_DRIVER_TI_CPSW for am335x_evm), exclude the network setup for
AM335x-ICEv2 to avoid link time failures:

  board/ti/am335x/board.c:683: undefined reference to `setup_clock_synthesizer'

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
board/ti/am335x/board.c