]> git.dujemihanovic.xyz Git - u-boot.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)
commite967c84a6d211562ff800a00b0c30d7aa808ae4b
tree087540b4e39f5a29b7ebe6a40218dc7576931d55
parentcfbd2bc695b87434e52e1b1073756b823f18f09d
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