mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
Fix PCI_BASE_ADDRESS_5 handling in pci_hose_config_device()
Signed-off-by: FUJITA Kazutoshi <fujita@soum.co.jp> Signed-off-by: <wd@denx.de> Acked-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
9d90a93d36
commit
252b404d95
1 changed files with 1 additions and 1 deletions
|
@ -388,7 +388,7 @@ int pci_hose_config_device(struct pci_controller *hose,
|
|||
|
||||
pci_hose_write_config_dword (hose, dev, PCI_COMMAND, 0);
|
||||
|
||||
for (bar = PCI_BASE_ADDRESS_0; bar < PCI_BASE_ADDRESS_5; bar += 4) {
|
||||
for (bar = PCI_BASE_ADDRESS_0; bar <= PCI_BASE_ADDRESS_5; bar += 4) {
|
||||
pci_hose_write_config_dword (hose, dev, bar, 0xffffffff);
|
||||
pci_hose_read_config_dword (hose, dev, bar, &bar_response);
|
||||
|
||||
|
|
Loading…
Reference in a new issue