summaryrefslogtreecommitdiff
path: root/include/ambapp.h
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2016-05-26 16:32:29 (GMT)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2016-05-31 07:38:11 (GMT)
commitbed1ca322da9b597aa59723a02a1dd647bf8bde4 (patch)
tree9d922069025938762f6a2ea2bdf34094f5ba1655 /include/ambapp.h
parent442d2e0149c4f3f2dadcf6ebc28b58d317fc5aa0 (diff)
downloadu-boot-fsl-qoriq-bed1ca322da9b597aa59723a02a1dd647bf8bde4.tar.xz
net: pcnet: Fix init on big endian 64 bit
If dev->iobase is 64 bits wide then writing the value of the BAR into a pointer to iobase will not work on big endian systems, where the BAR value will incorrectly get written to the upper 32 bits of the 64 bit variable. Fix this by reading the BAR into a u32, matching the type expected by pci_read_config_dword. Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Diffstat (limited to 'include/ambapp.h')
0 files changed, 0 insertions, 0 deletions