]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbc8580365d9bb23bafb6facb97cf62144e11d1bc
tree031c0e043ce05ba5fe19bbdccedcdba6b74999c6
parenta79c936402cd289c02fb522a6690b5ad15250031
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