mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-06 09:21:26 +01:00
pci: Indicate prefetchable memory allocate when debugging
At present the PCI output displays 'Mem' when it allocates memory for a PCI device, whether it is prefetchable or not. There is a distinction since the memory comes from separate pools. Use 'Prf' instead of 'Mem' when allocating prefetchable memory. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
5f48d798eb
commit
4bad2e7374
1 changed files with 3 additions and 2 deletions
|
|
@ -148,8 +148,9 @@ void pciauto_setup_device(struct pci_controller *hose,
|
|||
bar_res = mem;
|
||||
#endif
|
||||
|
||||
debug("PCI Autoconfig: BAR %d, Mem, size=0x%llx, ",
|
||||
bar_nr, (unsigned long long)bar_size);
|
||||
debug("PCI Autoconfig: BAR %d, %s, size=0x%llx, ",
|
||||
bar_nr, bar_res == prefetch ? "Prf" : "Mem",
|
||||
(unsigned long long)bar_size);
|
||||
}
|
||||
|
||||
#ifndef CONFIG_PCI_ENUM_ONLY
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue