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

Stefano Babic sbabic at denx.de
Sat Jun 27 19:09:28 CEST 2015


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: 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);

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: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list