Re: [U-Boot] [PATCH] mx6sabresd: Move the DCD settings to spl code

2014-11-14 Thread Nikolay Dimitrov
Hi Stefano, On 11/14/2014 03:23 PM, Stefano Babic wrote: Hi Nikolay, On 14/11/2014 13:22, Nikolay Dimitrov wrote: Hi Fabio, On 11/14/2014 01:57 PM, Fabio Estevam wrote: Hi Nikolay, On Fri, Nov 14, 2014 at 9:48 AM, Nikolay Dimitrov wrote: Hi Fabio, On 11/13/2014 11:58 PM, Fabio Estevam wr

Re: [U-Boot] [PATCH] mx6sabresd: Move the DCD settings to spl code

2014-11-14 Thread Stefano Babic
Hi Nikolay, On 14/11/2014 13:22, Nikolay Dimitrov wrote: > Hi Fabio, > > On 11/14/2014 01:57 PM, Fabio Estevam wrote: >> Hi Nikolay, >> >> On Fri, Nov 14, 2014 at 9:48 AM, Nikolay Dimitrov >> wrote: >>> Hi Fabio, >>> >>> On 11/13/2014 11:58 PM, Fabio Estevam wrote: From: Fabio Estevam

Re: [U-Boot] [PATCH] mx6sabresd: Move the DCD settings to spl code

2014-11-14 Thread Nikolay Dimitrov
Hi Fabio, On 11/14/2014 01:57 PM, Fabio Estevam wrote: Hi Nikolay, On Fri, Nov 14, 2014 at 9:48 AM, Nikolay Dimitrov wrote: Hi Fabio, On 11/13/2014 11:58 PM, Fabio Estevam wrote: From: Fabio Estevam mx6sabresd_spl.cfg configures CCM registers, GPR registers and CCM_CCOSR. Move the confi

Re: [U-Boot] [PATCH] mx6sabresd: Move the DCD settings to spl code

2014-11-14 Thread Fabio Estevam
Hi Nikolay, On Fri, Nov 14, 2014 at 9:48 AM, Nikolay Dimitrov wrote: > Hi Fabio, > > On 11/13/2014 11:58 PM, Fabio Estevam wrote: >> >> From: Fabio Estevam >> >> mx6sabresd_spl.cfg configures CCM registers, GPR registers and CCM_CCOSR. >> >> Move the configuration to the spl code. > > > I forgot

Re: [U-Boot] [PATCH] mx6sabresd: Move the DCD settings to spl code

2014-11-14 Thread Nikolay Dimitrov
Hi Fabio, On 11/13/2014 11:58 PM, Fabio Estevam wrote: From: Fabio Estevam mx6sabresd_spl.cfg configures CCM registers, GPR registers and CCM_CCOSR. Move the configuration to the spl code. I forgot to asker earlier, but what are the benefits of going from DCD to SPL code to provide HW init

Re: [U-Boot] [PATCH] mx6sabresd: Move the DCD settings to spl code

2014-11-14 Thread Fabio Estevam
Hi Otavio, On Fri, Nov 14, 2014 at 8:17 AM, Otavio Salvador wrote: > On Thu, Nov 13, 2014 at 8:30 PM, Fabio Estevam wrote: >> On Thu, Nov 13, 2014 at 8:25 PM, Nikolay Dimitrov wrote: >> >>> Do you know which kernel versions are compatible with this CCM_CCOSR >>> change? >> >> Since commit a94f8

Re: [U-Boot] [PATCH] mx6sabresd: Move the DCD settings to spl code

2014-11-14 Thread Otavio Salvador
On Thu, Nov 13, 2014 at 8:30 PM, Fabio Estevam wrote: > On Thu, Nov 13, 2014 at 8:25 PM, Nikolay Dimitrov wrote: > >> Do you know which kernel versions are compatible with this CCM_CCOSR >> change? > > Since commit a94f8ecb2f778f92 ("ARM: imx6q: remove board specific CLKO > setup"), which appeare

Re: [U-Boot] [PATCH] mx6sabresd: Move the DCD settings to spl code

2014-11-14 Thread Stefano Babic
Hi Fabio, On 14/11/2014 00:24, Fabio Estevam wrote: > On Thu, Nov 13, 2014 at 9:16 PM, Stefano Babic wrote: > >> mkimage is called with the .cfg file, and if it is removed, no imx image >> file is generated. I think that then the i.MX cannot boot, because the >> resulting image will miss the "ma

Re: [U-Boot] [PATCH] mx6sabresd: Move the DCD settings to spl code

2014-11-13 Thread Fabio Estevam
On Thu, Nov 13, 2014 at 9:16 PM, Stefano Babic wrote: > mkimage is called with the .cfg file, and if it is removed, no imx image > file is generated. I think that then the i.MX cannot boot, because the > resulting image will miss the "magic number" in the headers as described > in manuals. So I t

Re: [U-Boot] [PATCH] mx6sabresd: Move the DCD settings to spl code

2014-11-13 Thread Stefano Babic
Hi Fabio, On 13/11/2014 22:58, Fabio Estevam wrote: > From: Fabio Estevam > > mx6sabresd_spl.cfg configures CCM registers, GPR registers and CCM_CCOSR. > > Move the configuration to the spl code. > > CCM_CCOSR setting is no longer required to get audio functionality in the > kernel, so remove

Re: [U-Boot] [PATCH] mx6sabresd: Move the DCD settings to spl code

2014-11-13 Thread John Tobias
Hi Fabio, I think it's part of mkimage/Makefile. I tried to use board/freescale/mx6sabresd/dummy.cfg and the content was BOOT_FROM sd It compiles. I guess you need to modify the Makefile in order to get rid the .cfg file for SPL. Regards, john On Thu, Nov 13, 2014 at 2:30 PM, Fabio Estevam w

Re: [U-Boot] [PATCH] mx6sabresd: Move the DCD settings to spl code

2014-11-13 Thread Fabio Estevam
On Thu, Nov 13, 2014 at 8:25 PM, Nikolay Dimitrov wrote: > Do you know which kernel versions are compatible with this CCM_CCOSR > change? Since commit a94f8ecb2f778f92 ("ARM: imx6q: remove board specific CLKO setup"), which appeared in 3.12, there is no need to set the CCM_CCOSR register in U-bo

Re: [U-Boot] [PATCH] mx6sabresd: Move the DCD settings to spl code

2014-11-13 Thread Nikolay Dimitrov
Hi Fabio, On 11/13/2014 11:58 PM, Fabio Estevam wrote: From: Fabio Estevam mx6sabresd_spl.cfg configures CCM registers, GPR registers and CCM_CCOSR. Move the configuration to the spl code. CCM_CCOSR setting is no longer required to get audio functionality in the kernel, so remove such settin

[U-Boot] [PATCH] mx6sabresd: Move the DCD settings to spl code

2014-11-13 Thread Fabio Estevam
From: Fabio Estevam mx6sabresd_spl.cfg configures CCM registers, GPR registers and CCM_CCOSR. Move the configuration to the spl code. CCM_CCOSR setting is no longer required to get audio functionality in the kernel, so remove such setting. Signed-off-by: Fabio Estevam --- Hi Stefano, Actual