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 V2 0/5] i.MX6 (DQ/DLS): consolidate mux and pad names
Date: Wed, 13 Nov 2013 10:56:51 -0700	[thread overview]
Message-ID: <5283BD63.1010000@boundarydevices.com> (raw)
In-Reply-To: <CAOMZO5Dn4DrNfD-jCboSyXvnTccrQZATZbBJPrn5acPfoe5ZKg@mail.gmail.com>

Hi Fabio,

On 11/13/2013 10:30 AM, Fabio Estevam wrote:
> Hi Eric,
>
> On Wed, Nov 13, 2013 at 3:23 PM, Eric Nelson
> <eric.nelson@boundarydevices.com> wrote:
>
>>> Applied (whole patchset) to u-boot-imx, thanks !
>>>
>>
>> Oops.
>>
>> I was kinda hoping to get a head-not from Fabio on the
>> macro-fication of mx6[q|dl]_pins.h.
>>
>> If we can get that, we can drop patch 5 of this patch set,
>> since the white-space changes all around...
>
> I am not sure I understood the issue with patch 5.
>

In the RFC e-mail change regarding README.imx6-something,
I proposed that we replace the pad declaration form
currently in use:

enum {
	MX6_PAD_SD3_DAT2__USDHC3_DAT2 = IOMUX_PAD(...)
};

with macros of this form so that they can be pre-pended
with MX6Q_ and MX6DL_ when we need both in an image
(SPL?) that can run on either variant of processor.

	MX6_PAD_DECL(SD3_DAT2__USDHC3_DAT2, ...)

If we do this, then lining up the columns based on the
first form doesn't make much sense.

Section 3 of this post is the easiest place to see things:
	http://lists.denx.de/pipermail/u-boot/2013-November/166678.html

This post has my list of oustanding questions:

	http://lists.denx.de/pipermail/u-boot/2013-November/166876.html

And we're addressing #1 and 2:
	1. Whether to turn declarations in mx6q_pins.h/mx6dl_pins.h
	into macros
	2. Whether to double-include the same in mx6-pins.h
	3. Whether to define baseline pads (the 90% case) in a header
	and double-include it, and
	4. Whether to macro-fy the memory layout files like
	1066mhz_4x128mx16.cfg so they can be used by imximage and gcc.

Regards,


Eric

  reply	other threads:[~2013-11-13 17:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-05  0:00 [U-Boot] [PATCH V2 0/5] i.MX6 (DQ/DLS): consolidate mux and pad names Eric Nelson
2013-11-05  0:00 ` [U-Boot] [PATCH V2 1/5] i.MX6DQ/DLS: replace pad names with their Linux kernel equivalents Eric Nelson
2013-11-05  0:00 ` [U-Boot] [PATCH V2 2/5] i.MX6DQ/DLS: remove useless mux/pad declarations Eric Nelson
2013-11-05  0:00 ` [U-Boot] [PATCH V2 3/5] i.MX6DQ: Add Pinmux settings that are present in mainline and Dual-Lite/Solo Eric Nelson
2013-11-05  0:00 ` [U-Boot] [PATCH V2 4/5] i.MX6DQ/DLS: remove unused pad declarations Eric Nelson
2013-11-05  0:00 ` [U-Boot] [PATCH V2 5/5] i.MX6DQ/DLS: whitespace: Align IOMUX_PAD column in declarations Eric Nelson
2013-11-13  9:36 ` [U-Boot] [PATCH V2 0/5] i.MX6 (DQ/DLS): consolidate mux and pad names Stefano Babic
2013-11-13 17:23   ` Eric Nelson
2013-11-13 17:30     ` Fabio Estevam
2013-11-13 17:56       ` Eric Nelson [this message]
2013-11-13 20:07         ` Fabio Estevam
2013-11-13 21:04           ` Eric Nelson

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=5283BD63.1010000@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