powerpc/boot: Only build uartlite if XILINX_VIRTEX=y
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 8 Nov 2017 11:05:27 +0000 (22:05 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 11 Dec 2017 02:03:30 +0000 (13:03 +1100)
commit3d6bf693d8bc63f2e5eca7373916c4871f8ffd66
tree031c0e043ce05ba5fe19bbdccedcdba6b74999c6
parent1ea61ea23985c0f15c027e4c0ac02224efdfb243
powerpc/boot: Only build uartlite if XILINX_VIRTEX=y

The serial code in uartlite.c only matches if we find one of two
Xilinx (xlnx) nodes in the device tree, there's no need to build or
link the code on other platforms.

As far as I can tell CONFIG_XILINX_VIRTEX is the appropriate symbol to
use to conditionally compile the code.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/boot/Makefile
arch/powerpc/boot/serial.c