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)
commit253373d307e62ec6b78132ba9eae481fb748454c
tree8b4cb2674e8482a742a02b6681ce9430ea8bbd3b
parent21a1439d986a889cefbc2ed785c3f592fc9266de
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