]> git.baikalelectronics.ru Git - uboot.git/commit
pci: pci_mvebu, pci_aardvark: Fix size of configuration cache
authorMarek Behún <marek.behun@nic.cz>
Thu, 11 Nov 2021 15:35:44 +0000 (16:35 +0100)
committerStefan Roese <sr@denx.de>
Wed, 15 Dec 2021 07:57:36 +0000 (08:57 +0100)
commit9ae4e6c4112fe9e43ea96748ab2a2f3fe97f5fca
tree087540b4e39f5a29b7ebe6a40218dc7576931d55
parent0566886f565a98e2b33f532f69fd8bda87919e68
pci: pci_mvebu, pci_aardvark: Fix size of configuration cache

Since u32 takes up 4 bytes, we need to divide the number of u32s by 4
for cfgcache.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/pci/pci-aardvark.c
drivers/pci/pci_mvebu.c