]> git.dujemihanovic.xyz Git - u-boot.git/commit
pci: Skip configuring PCI Rom Address for unsupported header types
authorPali Rohár <pali@kernel.org>
Thu, 7 Oct 2021 12:50:57 +0000 (14:50 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 14 Oct 2021 23:45:07 +0000 (19:45 -0400)
commitb9caab8b47ae6ad6a317a9ed05e90475248739d7
tree20343c556d4da37e1f445273084c5c2cfa933b2a
parentb04f64aa48eeaf099fe52c28c512f956690f5eec
pci: Skip configuring PCI Rom Address for unsupported header types

PCI Rom Address is currently supported only for Normal (0x00) and
Bridge (0x01) header types. Fix code accordingly.

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