PCI: aardvark: Fix big endian support
authorGrzegorz Jaszczyk <jaz@semihalf.com>
Tue, 16 Jul 2019 12:12:07 +0000 (14:12 +0200)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 17 Oct 2019 11:42:31 +0000 (12:42 +0100)
commite078723f9cccd509482fd7f30a4afb1125ca7a2a
treee57c1e32ec42bf40835b1334caaf217a0dfcfa42
parent7fbcb5da811be7d47468417c7795405058abb3da
PCI: aardvark: Fix big endian support

Initialise every multiple-byte field of emulated PCI bridge config
space with proper cpu_to_le* macro. This is required since the structure
describing config space of emulated bridge assumes little-endian
convention.

Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/controller/pci-aardvark.c