inteltool: Don't use PCI_FILL_SIZES
commitac826c8fd7b616f8b65a268e7474d8c0cf84f93f
authorNico Huber <nico.huber@secunet.com>
Fri, 31 Mar 2017 10:09:58 +0000 (31 12:09 +0200)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Tue, 6 Jun 2017 15:19:45 +0000 (6 17:19 +0200)
treea23e85261abf9997d1e40331635759906f46a640
parenta2cf686396e3a6a0b5ff544aaa70c652cd75da4e
inteltool: Don't use PCI_FILL_SIZES

This is supposed to fill the `size[]` array with the actual sizes of
a device' MMIO ranges, but apparently isn't implemented for every
access method in libpci (we let the library choose one). It tells us
by clearing `PCI_FILL_SIZES` in the return value of `pci_fill_info()`
(which we don't check). Since we don't ever use `size`, we can just
make it clear and don't ask for it.

Change-Id: I3fb9334472f1c7563a9e17910190f73affbe067a
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/19582
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
util/inteltool/inteltool.c