]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
Juno: don't print PCI debug information by default
authorAndre Przywara <andre.przywara@arm.com>
Fri, 13 Nov 2015 11:25:46 +0000 (11:25 +0000)
committerTom Rini <trini@konsulko.com>
Sun, 22 Nov 2015 02:50:27 +0000 (21:50 -0500)
On a Juno r1 the PCI controller init routine outputs the rather boring
ATR entry information.
Do this only with DEBUG defined to avoid cluttering the user's
terminal.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Ryan Harkin <ryan.harkin@linaro.org>
board/armltd/vexpress64/pcie.c

index 7b999e8ef40bad25ff0262f5b7f869b82517eaad..eb23dd5b4878c3c59e5a71b6884fb7615a59cffd 100644 (file)
@@ -87,7 +87,7 @@ void xr3pci_set_atr_entry(unsigned long base, unsigned long src_addr,
        writel((u32)(trsl_addr >> 32), base + XR3PCI_ATR_TRSL_ADDR_HIGH);
        writel(trsl_param, base + XR3PCI_ATR_TRSL_PARAM);
 
-       printf("ATR entry: 0x%010lx %s 0x%010lx [0x%010llx] (param: 0x%06x)\n",
+       debug("ATR entry: 0x%010lx %s 0x%010lx [0x%010llx] (param: 0x%06x)\n",
               src_addr, (trsl_param & 0x400000) ? "<-" : "->", trsl_addr,
               ((u64)1) << window_size, trsl_param);
 }