]> git.dujemihanovic.xyz Git - u-boot.git/commit
pci: Fix configuring BARs
authorPali Rohár <pali@kernel.org>
Thu, 7 Oct 2021 12:50:59 +0000 (14:50 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 14 Oct 2021 23:45:07 +0000 (19:45 -0400)
commitc7cd6f734b7cded1e1e1967c2374b08f344a6878
treefb575379a5b49586d29e619f4357aa3a41bad517
parent63ae80dd98d4c0d1123317043cdf2596e724e43a
pci: Fix configuring BARs

Number of BARs is defined by header type, not by class code.

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