[U-Boot] [PATCH v2 8/8] imx: mx6qp: Adjust AQos settings for peripherals

Peng Fan Peng.Fan at freescale.com
Thu Jun 11 12:30:42 CEST 2015


To resolve USB camera bandwidth issue, increase the priority
to make peripheral can fetch data from memory in time. Recommended
AQoS setting from IC team value for peripheral and only on imx6qp.

The address is: 0xbb0608, the value is: 0x80000201

Signed-off-by: Ye.Li <B37916 at freescale.com>
Signed-off-by: Peng Fan <Peng.Fan at freescale.com>
---

Changes v2:
 improve comments

 arch/arm/cpu/armv7/mx6/soc.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c
index bcfa2f6..e3e1494 100644
--- a/arch/arm/cpu/armv7/mx6/soc.c
+++ b/arch/arm/cpu/armv7/mx6/soc.c
@@ -424,6 +424,14 @@ int arch_cpu_init(void)
 
 	init_src();
 
+	/*
+	 * To resolve USB camera bandwidth issue, increase the priority
+	 * to make pheripheral can fetch data from memory in time. Recommended
+	 * AQoS setting from IC team value for peripheral and only on imx6qp.
+	 */
+	if (is_mx6dqp())
+		writel(0x80000201, 0xbb0608);
+
 	return 0;
 }
 
-- 
1.8.4




More information about the U-Boot mailing list