From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Sat, 27 Jun 2015 19:09:28 +0200 Subject: [U-Boot] [PATCH v2 8/8] imx: mx6qp: Adjust AQos settings for peripherals In-Reply-To: <1434018642-16990-8-git-send-email-Peng.Fan@freescale.com> References: <1434018642-16990-1-git-send-email-Peng.Fan@freescale.com> <1434018642-16990-8-git-send-email-Peng.Fan@freescale.com> Message-ID: <558ED8C8.7060609@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Signed-off-by: Peng Fan > --- > > 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 =====================================================================