Searched hist:"3 d6bf693d8bc63f2e5eca7373916c4871f8ffd66" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/powerpc/boot/ |
H A D | serial.c | diff 3d6bf693d8bc63f2e5eca7373916c4871f8ffd66 Wed Nov 08 05:05:27 CST 2017 Michael Ellerman <mpe@ellerman.id.au> 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>
|
H A D | Makefile | diff 3d6bf693d8bc63f2e5eca7373916c4871f8ffd66 Wed Nov 08 05:05:27 CST 2017 Michael Ellerman <mpe@ellerman.id.au> 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>
|