All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] armv8: ls1012a: Make USB masters snoopable
@ 2019-12-26 10:11 Ran Wang
  2020-01-27  5:53 ` Priyanka Jain
  0 siblings, 1 reply; 2+ messages in thread
From: Ran Wang @ 2019-12-26 10:11 UTC (permalink / raw)
  To: u-boot

Program register bit of SCFG_SNPCNFGCR_USBRDSNP and
SCFG_SNPCNFGCR_USBWRSNP to drive USB read/write
snoop signal on LS1012A.

Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
---
 arch/arm/cpu/armv8/fsl-layerscape/soc.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/cpu/armv8/fsl-layerscape/soc.c b/arch/arm/cpu/armv8/fsl-layerscape/soc.c
index ac75c58..e5090d2 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/soc.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/soc.c
@@ -645,6 +645,11 @@ void fsl_lsch2_early_init_f(void)
 			SCFG_SNPCNFGCR_USB2WRSNP | SCFG_SNPCNFGCR_USB3RDSNP |
 			SCFG_SNPCNFGCR_USB3WRSNP | SCFG_SNPCNFGCR_SATARDSNP |
 			SCFG_SNPCNFGCR_SATAWRSNP);
+#elif defined(CONFIG_ARCH_LS1012A)
+	setbits_be32(&scfg->snpcnfgcr, SCFG_SNPCNFGCR_SECRDSNP |
+			SCFG_SNPCNFGCR_SECWRSNP | SCFG_SNPCNFGCR_USB1RDSNP |
+			SCFG_SNPCNFGCR_USB1WRSNP | SCFG_SNPCNFGCR_SATARDSNP |
+			SCFG_SNPCNFGCR_SATAWRSNP);
 #else
 	setbits_be32(&scfg->snpcnfgcr, SCFG_SNPCNFGCR_SECRDSNP |
 		     SCFG_SNPCNFGCR_SECWRSNP |
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] armv8: ls1012a: Make USB masters snoopable
  2019-12-26 10:11 [PATCH] armv8: ls1012a: Make USB masters snoopable Ran Wang
@ 2020-01-27  5:53 ` Priyanka Jain
  0 siblings, 0 replies; 2+ messages in thread
From: Priyanka Jain @ 2020-01-27  5:53 UTC (permalink / raw)
  To: u-boot

>-----Original Message-----
>From: Ran Wang <ran.wang_1@nxp.com>
>Sent: Thursday, December 26, 2019 3:41 PM
>To: Priyanka Jain <priyanka.jain@nxp.com>
>Cc: open list <u-boot@lists.denx.de>; Ran Wang <ran.wang_1@nxp.com>
>Subject: [PATCH] armv8: ls1012a: Make USB masters snoopable
>
>Program register bit of SCFG_SNPCNFGCR_USBRDSNP and
>SCFG_SNPCNFGCR_USBWRSNP to drive USB read/write snoop signal on
>LS1012A.
>
>Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
>---
Patch applied in u-boot-fsl-qoriq/master
-priyankajain

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-27  5:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-26 10:11 [PATCH] armv8: ls1012a: Make USB masters snoopable Ran Wang
2020-01-27  5:53 ` Priyanka Jain

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.