]> git.baikalelectronics.ru Git - uboot.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)
commitab52df4259caa46ed8b3c4d52575367b1139af69
tree20343c556d4da37e1f445273084c5c2cfa933b2a
parentc0ec3ecb6fcd67418f562055372f20ef128c14cf
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