mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 09:54:35 +00:00
Merge patch series "pci_auto: Downgrade prefetch if necessary"
This series from Patrick Rudolph <patrick.rudolph@9elements.com> fixes an issue with how we treat PCIe vs PCI in some cases and fixes the qemu-arm-sbsa reference platform support. Link: https://lore.kernel.org/r/20250226135647.194842-1-patrick.rudolph@9elements.com
This commit is contained in:
commit
4c4266dab7
2 changed files with 4 additions and 1 deletions
|
@ -33,6 +33,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select OF_SEPARATE
|
||||
select PCI
|
||||
select PCIE_ECAM_GENERIC
|
||||
select SYS_PCI_64BIT
|
||||
select USB
|
||||
select GIC_V3
|
||||
select GIC_V3_ITS
|
||||
|
@ -48,6 +49,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
imply CFI_FLASH
|
||||
imply SYS_MTDPARTS_RUNTIME
|
||||
imply SET_DFU_ALT_INFO
|
||||
imply PCI_INIT_R
|
||||
|
||||
if DEBUG_UART
|
||||
|
||||
|
|
|
@ -107,7 +107,8 @@ static void dm_pciauto_setup_device(struct udevice *dev,
|
|||
}
|
||||
|
||||
if (prefetch &&
|
||||
(bar_response & PCI_BASE_ADDRESS_MEM_PREFETCH))
|
||||
(bar_response & PCI_BASE_ADDRESS_MEM_PREFETCH) &&
|
||||
(found_mem64 || prefetch->bus_lower < 0x100000000ULL))
|
||||
bar_res = prefetch;
|
||||
else
|
||||
bar_res = mem;
|
||||
|
|
Loading…
Add table
Reference in a new issue