]> git.dujemihanovic.xyz Git - u-boot.git/commit
pci: Fix showing bars
authorPali Rohár <pali@kernel.org>
Thu, 7 Oct 2021 12:51:00 +0000 (14:51 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 14 Oct 2021 23:45:07 +0000 (19:45 -0400)
commite6335d3eaafc60b74bd05761b2bf0e57ad429aa7
tree6357cd07a28c01729ffc8aa22b13c7c3341bf894
parentc7cd6f734b7cded1e1e1967c2374b08f344a6878
pci: Fix showing bars

Header type is 7-bit number so properly clear upper 8th bit which
indicates multifunction device.

And do not try to show bars for unsupported header types.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
cmd/pci.c