From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3ywyXX5D6TzDqmD for ; Tue, 12 Dec 2017 22:39:24 +1100 (AEDT) In-Reply-To: <1510139129-8335-1-git-send-email-mpe@ellerman.id.au> To: Michael Ellerman , linuxppc-dev@ozlabs.org From: Michael Ellerman Subject: Re: [1/3] powerpc/boot: Only build uartlite if XILINX_VIRTEX=y Message-Id: <3ywyXW6BjDz9t8F@ozlabs.org> Date: Tue, 12 Dec 2017 22:39:23 +1100 (AEDT) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2017-11-08 at 11:05:27 UTC, Michael Ellerman wrote: > 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 Series applied to powerpc next. https://git.kernel.org/powerpc/c/3d6bf693d8bc63f2e5eca7373916c4 cheers