[U-Boot] [PATCH 1/2] pci: Only link pci_rom.o in some cases

Tom Rini
2019-12-04T04:02:41Z

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 <trini@konsulko.com>

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: <https://lists.denx.de/pipermail/u-boot/attachments/20191203/0706ccc5/attachment.sig>