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

Tom Rini trini at konsulko.com
Wed Dec 4 05:02:41 CET 2019


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 at 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>


More information about the U-Boot mailing list