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

Stefano Babic
2015-06-10T09:44:34Z

Hi Peng,

On 10/06/2015 10:06, Peng Fan wrote:
> From: "Ye.Li" <B37916@freescale.com>
>
> To resolve USB camera bandwidth issue, the patch sets recommended AQoS
> setting from IC team value for peripheral and only on imx6qp.
>
> The address is: 0xbb0608, the value is: 0x80000201
>

I understand that, if you fight against this issue, the comment can be
clear and maybe redundant. Please add comments in code describing the
issue, and extend the commit log to better explain the issue and the
solution.

> Signed-off-by: Ye.Li <B37916@freescale.com>
> Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
> ---
> arch/arm/cpu/armv7/mx6/soc.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c
> index 5eea9d9..0de71d56 100644
> --- a/arch/arm/cpu/armv7/mx6/soc.c
> +++ b/arch/arm/cpu/armv7/mx6/soc.c
> @@ -424,6 +424,9 @@ int arch_cpu_init(void)
>
> init_src();
>
> + if (is_mx6dqp())
> + writel(0x80000201, 0xbb0608);
> +
> return 0;
> }
>
>

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
=====================================================================