* [U-Boot] [PATCH] Juno: don't print PCI debug information by default
@ 2015-11-13 11:25 Andre Przywara
2015-11-13 15:04 ` Ryan Harkin
2015-11-22 15:55 ` [U-Boot] " Tom Rini
0 siblings, 2 replies; 3+ messages in thread
From: Andre Przywara @ 2015-11-13 11:25 UTC (permalink / raw)
To: u-boot
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>
---
board/armltd/vexpress64/pcie.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/armltd/vexpress64/pcie.c b/board/armltd/vexpress64/pcie.c
index 7b999e8..eb23dd5 100644
--- a/board/armltd/vexpress64/pcie.c
+++ b/board/armltd/vexpress64/pcie.c
@@ -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);
}
--
2.5.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] Juno: don't print PCI debug information by default
2015-11-13 11:25 [U-Boot] [PATCH] Juno: don't print PCI debug information by default Andre Przywara
@ 2015-11-13 15:04 ` Ryan Harkin
2015-11-22 15:55 ` [U-Boot] " Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Ryan Harkin @ 2015-11-13 15:04 UTC (permalink / raw)
To: u-boot
On 13 November 2015 at 11:25, Andre Przywara <andre.przywara@arm.com> wrote:
> 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.
Good idea.
>
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Ryan Harkin <ryan.harkin@linaro.org>
> ---
> board/armltd/vexpress64/pcie.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/board/armltd/vexpress64/pcie.c b/board/armltd/vexpress64/pcie.c
> index 7b999e8..eb23dd5 100644
> --- a/board/armltd/vexpress64/pcie.c
> +++ b/board/armltd/vexpress64/pcie.c
> @@ -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);
> }
> --
> 2.5.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] Juno: don't print PCI debug information by default
2015-11-13 11:25 [U-Boot] [PATCH] Juno: don't print PCI debug information by default Andre Przywara
2015-11-13 15:04 ` Ryan Harkin
@ 2015-11-22 15:55 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2015-11-22 15:55 UTC (permalink / raw)
To: u-boot
On Fri, Nov 13, 2015 at 11:25:46AM +0000, Andre Przywara wrote:
> 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>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151122/91e006f4/attachment.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-11-22 15:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-13 11:25 [U-Boot] [PATCH] Juno: don't print PCI debug information by default Andre Przywara
2015-11-13 15:04 ` Ryan Harkin
2015-11-22 15:55 ` [U-Boot] " Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.