public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Eric Nelson <eric.nelson@boundarydevices.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/4] mx6:  Add SPL Framewok
Date: Fri, 08 Nov 2013 15:37:59 -0700	[thread overview]
Message-ID: <527D67C7.8010607@boundarydevices.com> (raw)
In-Reply-To: <1383903186.3157.491.camel@edward-x220-laptop>

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

      reply	other threads:[~2013-11-08 22:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=527D67C7.8010607@boundarydevices.com \
    --to=eric.nelson@boundarydevices.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox