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

2015-06-27 Thread Stefano Babic
Hi Peng,

On 11/06/2015 12:30, Peng Fan wrote:
 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: 0x8201
 
 Signed-off-by: Ye.Li b37...@freescale.com
 Signed-off-by: Peng Fan peng@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(0x8201, 0xbb0608);

See my prevoius comment: no magic data, provide structures and code for
that.

Best regards,
Stefano Babic

-- 
=
DENX Software Engineering GmbH,  Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de
=
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2015-06-11 Thread Peng Fan
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: 0x8201

Signed-off-by: Ye.Li b37...@freescale.com
Signed-off-by: Peng Fan peng@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(0x8201, 0xbb0608);
+
return 0;
 }
 
-- 
1.8.4


___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot