mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 12:56:00 +01:00
arm: a37xx: pci: Don't spam about PIO Response Status
Use dev_dbg() instead of dev_err() in pcie_advk_check_pio_status(). For example CRS is not an error status, it just says that the request should be retried. Without this, U-Boot spams the terminal with pcie_advk pcie@d0070000: Non-posted PIO Response Status: UR, 0xc80 @ 0x100000 pcie_advk pcie@d0070000: Non-posted PIO Response Status: UR, 0xc80 @ 0x108000 pcie_advk pcie@d0070000: Non-posted PIO Response Status: UR, 0xc80 @ 0x110000 pcie_advk pcie@d0070000: Non-posted PIO Response Status: UR, 0xc80 @ 0x120000 pcie_advk pcie@d0070000: Non-posted PIO Response Status: UR, 0xc80 @ 0x128000 pcie_advk pcie@d0070000: Non-posted PIO Response Status: UR, 0xc80 @ 0x130000 ... when a device is not connected to a PCIe switch (Unsupported Request from the switch). Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
47d8931386
commit
157bc52b0f
@ -327,7 +327,7 @@ static int pcie_advk_check_pio_status(struct pcie_advk *pcie,
|
|||||||
else
|
else
|
||||||
str_posted = "Posted";
|
str_posted = "Posted";
|
||||||
|
|
||||||
dev_err(pcie->dev, "%s PIO Response Status: %s, %#x @ %#x\n",
|
dev_dbg(pcie->dev, "%s PIO Response Status: %s, %#x @ %#x\n",
|
||||||
str_posted, strcomp_status, reg,
|
str_posted, strcomp_status, reg,
|
||||||
advk_readl(pcie, PIO_ADDR_LS));
|
advk_readl(pcie, PIO_ADDR_LS));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user