pci: Add more debug detail when resources are exhausted
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:56:15 +0000 (08:56 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:57:42 +0000 (13:57 +0800)
commitf365152a55e6619d5f87d851790e329f7b441b61
treee933117109cd56ef1e250f80a6a6ccaa0fa6eea6
parentbdaa976153b29c88822e6c196e48f6ad2f881846
pci: Add more debug detail when resources are exhausted

If PCI auto-config runs out of memory, show a few more details to help
diagnose the problem.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: change %x to %llx to avoid build warnings on some platforms]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
drivers/pci/pci_auto_common.c