Re: [U-Boot] [PATCH] i.MX6: Ensure AHB clock is 132MHz in low freq boot mode

2014-01-07 Thread Stefano Babic
Hi Anson, On 06/01/2014 22:31, Anson Huang wrote: > For low freq boot mode(ARM boot up with 396MHz), ROM > will not set AHB clock to 132MHz, and the reset value of > AHB divider is incorrect which will lead to wrong AHB > rate, need to correct it. To enable low freq boot mode, > need to set BOOT_C

Re: [U-Boot] [PATCH] i.MX6: Ensure AHB clock is 132MHz in low freq boot mode

2014-01-07 Thread hui....@freescale.com
> -Original Message- > From: Anson Huang [mailto:b20...@freescale.com] > Sent: Tuesday, January 07, 2014 5:32 AM > To: sba...@denx.de; eric.nel...@boundarydevices.com; > troy.ki...@boundarydevices.com; Estevam Fabio-R49496; Liu Hui-R64343 > Cc: u-boot@lists.denx.de > Subject: [PATCH] i.MX6:

Re: [U-Boot] [PATCH] i.MX6: Ensure AHB clock is 132MHz in low freq boot mode

2014-01-07 Thread Fabio Estevam
Hi Anson, On Mon, Jan 6, 2014 at 7:31 PM, Anson Huang wrote: > int arch_cpu_init(void) > { > init_aips(); > > + /* > +* When low freq boot is enabled, ROM will not set AHB > +* freq, so we need to ensure AHB freq is 132MHz in such > +* scenario. > +

[U-Boot] [PATCH] i.MX6: Ensure AHB clock is 132MHz in low freq boot mode

2014-01-07 Thread Anson Huang
For low freq boot mode(ARM boot up with 396MHz), ROM will not set AHB clock to 132MHz, and the reset value of AHB divider is incorrect which will lead to wrong AHB rate, need to correct it. To enable low freq boot mode, need to set BOOT_CFG2[2] to high, tested on i.MX6Q/DL SabreSD board and i.MX6SL

[U-Boot] [PATCH] i.MX6: Ensure AHB clock is 132MHz in low freq boot mode

2014-01-07 Thread Anson Huang
For low freq boot mode(ARM boot up with 396MHz), ROM will not set AHB clock to 132MHz, and the reset value of AHB divider is incorrect which will lead to wrong AHB rate, need to correct it. To enable low freq boot mode, need to set BOOT_CFG2[2] to high, tested on i.MX6Q/DL SabreSD board and i.MX6SL