1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-14 02:00:30 +01:00
Files
u-boot-megous/drivers
Pali Rohár daa9bfdb9c pci: pci_mvebu: Fix write_config() with PCI_SIZE_8 or PCI_SIZE_16
Current implementation of write_config() is broken for PCI_SIZE_8 or
PCI_SIZE_16 as it always uses writel(), which means that write operation
is always 32-bit, so upper 24 bits for PCI_SIZE_8 and upper 16 bits for
PCI_SIZE_16 are cleared.

Fix this by using writeb() and writew(), respectively.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
2021-11-03 06:45:26 +01:00
..
2021-09-16 11:46:44 -04:00
2021-10-31 08:46:44 -04:00
2021-09-25 09:46:15 -06:00
2021-10-05 08:50:15 -04:00
2021-09-27 21:38:34 -04:00
2021-10-31 08:46:44 -04:00
2021-10-12 15:18:39 +03:00
2021-09-04 12:26:02 -04:00
2021-09-13 18:23:13 -04:00
2021-10-01 21:08:18 -04:00
2021-10-31 08:46:44 -04:00
2021-10-31 08:46:44 -04:00