From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 3 Dec 2019 23:02:41 -0500 Subject: [U-Boot] [PATCH 1/2] pci: Only link pci_rom.o in some cases In-Reply-To: <20191127014100.29733-1-trini@konsulko.com> References: <20191127014100.29733-1-trini@konsulko.com> Message-ID: <20191204040241.GD15966@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Nov 26, 2019 at 08:40:59PM -0500, Tom Rini wrote: > The content of pci_rom.c is only used in a few cases. Only build and > link in these cases to avoid a global variable as gcc doesn't always > discard those when they are unused. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: