Am 26.05.2016 um 18:32 schrieb Paul Burton:
> 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 <[email protected]>
> 
> ---
> 
> Changes in v2:
> - Drop useless cast of &bar.
> 
>  drivers/net/pcnet.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 

applied to u-boot-mips, thanks.

-- 
- Daniel

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to