public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/4] mx6:  Add SPL Framewok
       [not found] <1383902774.3157.477.camel@edward-x220-laptop>
@ 2013-11-08  9:33 ` Edward Lin
  2013-11-08 22:37   ` Eric Nelson
  0 siblings, 1 reply; 2+ messages in thread
From: Edward Lin @ 2013-11-08  9:33 UTC (permalink / raw)
  To: u-boot

Add common code for SPL boot on imx6.

Patch 1 adds a function to determine which device mx6 is booting from.

Patch 2 adds structures for mmdc and ddr iomux registers 

Patch 3 adds co-existing pad configs that allows the support of
mx6q/mx6d/mx6dl/mx6s in one binary.

Patch 4 adds mx6 arch-specific spl header.

 arch/arm/cpu/armv7/mx6/soc.c                 |   43 +
 arch/arm/include/asm/arch-mx6/mx6_ddr_regs.h |  167 ++
 arch/arm/include/asm/arch-mx6/mx6qdl_pins.h  | 3290
++++++++++++++++++++++++++
 arch/arm/include/asm/arch-mx6/spl.h          |   25 +
 arch/arm/include/asm/arch-mx6/sys_proto.h    |   17 +
 5 files changed, 3542 insertions(+)
 create mode 100644 arch/arm/include/asm/arch-mx6/mx6_ddr_regs.h
 create mode 100644 arch/arm/include/asm/arch-mx6/mx6qdl_pins.h
 create mode 100644 arch/arm/include/asm/arch-mx6/spl.h
-- 
1.8.0

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH 0/4] mx6:  Add SPL Framewok
  2013-11-08  9:33 ` [U-Boot] [PATCH 0/4] mx6: Add SPL Framewok Edward Lin
@ 2013-11-08 22:37   ` Eric Nelson
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Nelson @ 2013-11-08 22:37 UTC (permalink / raw)
  To: u-boot

Hi Edward,

On 11/08/2013 02:33 AM, Edward Lin wrote:
> Add common code for SPL boot on imx6.
>
> Patch 1 adds a function to determine which device mx6 is booting from.
>
> Patch 2 adds structures for mmdc and ddr iomux registers
>
> Patch 3 adds co-existing pad configs that allows the support of
> mx6q/mx6d/mx6dl/mx6s in one binary.
>
> Patch 4 adds mx6 arch-specific spl header.
>
>   arch/arm/cpu/armv7/mx6/soc.c                 |   43 +
>   arch/arm/include/asm/arch-mx6/mx6_ddr_regs.h |  167 ++
>   arch/arm/include/asm/arch-mx6/mx6qdl_pins.h  | 3290
> ++++++++++++++++++++++++++
>   arch/arm/include/asm/arch-mx6/spl.h          |   25 +
>   arch/arm/include/asm/arch-mx6/sys_proto.h    |   17 +
>   5 files changed, 3542 insertions(+)
>   create mode 100644 arch/arm/include/asm/arch-mx6/mx6_ddr_regs.h
>   create mode 100644 arch/arm/include/asm/arch-mx6/mx6qdl_pins.h
>   create mode 100644 arch/arm/include/asm/arch-mx6/spl.h
>

This patch set is mostly about support for multiple i.MX6
architectures, not SPL, right?

It seems to me that there are three distinct things that
we're all after, and we should probably separate them for
the purpose of patch review:

	-- Add support for SPL

	-- Add support for binaries which can run on both
	i.MX6DQ and i.MX6DLS parts

	-- Add support for dynamic memory setup

Since the second two are closely correlated and requires
that some code be executed in internal RAM, does it make
sense to start there?

We can't re-configure DDR while executing from DDR, and
the two architectures have different DDR limits, which
makes SPL the first pre-requisite (and likely the easiest).

Regards,


Eric

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-08 22:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1383902774.3157.477.camel@edward-x220-laptop>
2013-11-08  9:33 ` [U-Boot] [PATCH 0/4] mx6: Add SPL Framewok Edward Lin
2013-11-08 22:37   ` Eric Nelson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox