]> git.baikalelectronics.ru Git - uboot.git/commit
pci: iproc: Set all 24 bits of PCI class code
authorPali Rohár <pali@kernel.org>
Wed, 5 Jan 2022 09:50:20 +0000 (10:50 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 24 Jan 2022 21:03:27 +0000 (16:03 -0500)
commit22db23dbe4107169301698c894b8ab85a7fe8882
tree8b4cb2674e8482a742a02b6681ce9430ea8bbd3b
parent857e9ecd0c239b9b53363a27f8d8cf41c3d7d9f3
pci: iproc: Set all 24 bits of PCI class code

Register 0x43c in its low 24 bits contains PCI class code.

Update code to set all 24 bits of PCI class code and not only upper 16 bits
of PCI class code.

Use standard U-Boot macro (PCI_CLASS_BRIDGE_PCI << 8) for constructing all
24-bits of PCI class for PCI bridge Normal decode.

Signed-off-by: Pali Rohár <pali@kernel.org>
Acked-by: Roman Bacik <roman.bacik@broadcom.com>
drivers/pci/pcie_iproc.c