Re: [U-Boot] [PATCH 07/11] MX6: use macro building for MX6Q/MX6DL iomux regs

2014-04-24 Thread Igor Grinberg
On 04/23/14 22:00, Eric Nelson wrote: > Hi Stefano, > > On 04/23/2014 10:07 AM, Stefano Babic wrote: >> Hi Tim, hi Nikita, >> >> On 10/04/2014 16:08, Nikita Kiryanov wrote: >> The cfg files are currently all written to use the IOMUX register names as MX6_ (no Q vs DL) so that a single c

Re: [U-Boot] [PATCH 07/11] MX6: use macro building for MX6Q/MX6DL iomux regs

2014-04-23 Thread Tim Harvey
On Wed, Apr 23, 2014 at 10:07 AM, Stefano Babic wrote: > Hi Tim, hi Nikita, > > On 10/04/2014 16:08, Nikita Kiryanov wrote: > >>> The cfg files are currently all written to use the IOMUX register >>> names as MX6_ (no Q vs DL) so that a single cfg file can be used for a >>> build-time configurati

Re: [U-Boot] [PATCH 07/11] MX6: use macro building for MX6Q/MX6DL iomux regs

2014-04-23 Thread Eric Nelson
Hi Stefano, On 04/23/2014 10:07 AM, Stefano Babic wrote: Hi Tim, hi Nikita, On 10/04/2014 16:08, Nikita Kiryanov wrote: The cfg files are currently all written to use the IOMUX register names as MX6_ (no Q vs DL) so that a single cfg file can be used for a build-time configuration of IMX6Q o

Re: [U-Boot] [PATCH 07/11] MX6: use macro building for MX6Q/MX6DL iomux regs

2014-04-23 Thread Stefano Babic
Hi Tim, hi Nikita, On 10/04/2014 16:08, Nikita Kiryanov wrote: >> The cfg files are currently all written to use the IOMUX register >> names as MX6_ (no Q vs DL) so that a single cfg file can be used for a >> build-time configuration of IMX6Q or IMX6DL. > > OK now I understand. It seems to me t

Re: [U-Boot] [PATCH 07/11] MX6: use macro building for MX6Q/MX6DL iomux regs

2014-04-23 Thread Stefano Babic
Hi Tim, On 09/04/2014 17:46, Tim Harvey wrote: > On Wed, Apr 9, 2014 at 7:57 AM, Nikita Kiryanov wrote: >> Hi Tim, >> >> >> On 04/03/2014 09:01 AM, Tim Harvey wrote: >>> >>> This is an attempt at using a macro to allow mx6dl-ddr.h and >>> mx6q-ddr.h registers to be used together which is needed f

Re: [U-Boot] [PATCH 07/11] MX6: use macro building for MX6Q/MX6DL iomux regs

2014-04-10 Thread Tim Harvey
On Thu, Apr 10, 2014 at 7:51 AM, Nikita Kiryanov wrote: > On 04/10/2014 05:08 PM, Nikita Kiryanov wrote: > > Here I'm referring to the file arch/arm/include/asm/arch-mx6/mx6_ddr_regs.h > (which I'm guessing you may have already seen based on your comment on > patch 11...) > Nikita, Yes, I start

Re: [U-Boot] [PATCH 07/11] MX6: use macro building for MX6Q/MX6DL iomux regs

2014-04-10 Thread Nikita Kiryanov
On 04/10/2014 05:08 PM, Nikita Kiryanov wrote: On 04/09/2014 06:46 PM, Tim Harvey wrote: On Wed, Apr 9, 2014 at 7:57 AM, Nikita Kiryanov wrote: Hi Tim, On 04/03/2014 09:01 AM, Tim Harvey wrote: This is an attempt at using a macro to allow mx6dl-ddr.h and mx6q-ddr.h registers to be used tog

Re: [U-Boot] [PATCH 07/11] MX6: use macro building for MX6Q/MX6DL iomux regs

2014-04-10 Thread Nikita Kiryanov
On 04/09/2014 06:46 PM, Tim Harvey wrote: On Wed, Apr 9, 2014 at 7:57 AM, Nikita Kiryanov wrote: Hi Tim, On 04/03/2014 09:01 AM, Tim Harvey wrote: This is an attempt at using a macro to allow mx6dl-ddr.h and mx6q-ddr.h registers to be used together which is needed for an SPL bootloader that

Re: [U-Boot] [PATCH 07/11] MX6: use macro building for MX6Q/MX6DL iomux regs

2014-04-09 Thread Nikita Kiryanov
Hi Tim, On 04/03/2014 09:01 AM, Tim Harvey wrote: This is an attempt at using a macro to allow mx6dl-ddr.h and mx6q-ddr.h registers to be used together which is needed for an SPL bootloader that can run on either CPU's and must configure MMDC iomux dynamically. I am trying to come up with a sol

Re: [U-Boot] [PATCH 07/11] MX6: use macro building for MX6Q/MX6DL iomux regs

2014-04-09 Thread Tim Harvey
On Wed, Apr 9, 2014 at 7:57 AM, Nikita Kiryanov wrote: > Hi Tim, > > > On 04/03/2014 09:01 AM, Tim Harvey wrote: >> >> This is an attempt at using a macro to allow mx6dl-ddr.h and >> mx6q-ddr.h registers to be used together which is needed for an SPL >> bootloader >> that can run on either CPU's a

[U-Boot] [PATCH 07/11] MX6: use macro building for MX6Q/MX6DL iomux regs

2014-04-02 Thread Tim Harvey
This is an attempt at using a macro to allow mx6dl-ddr.h and mx6q-ddr.h registers to be used together which is needed for an SPL bootloader that can run on either CPU's and must configure MMDC iomux dynamically. I am trying to come up with a solution similar to Eric's approach with the similar iss