[U-Boot] [PATCH RFC 0/22] i.MX6: Update pad declarations for multiple-arch binaries

Otavio Salvador otavio at ossystems.com.br
Fri Sep 13 19:07:39 CEST 2013


On Fri, Sep 13, 2013 at 2:01 PM, Eric Nelson
<eric.nelson at boundarydevices.com> wrote:
> On 09/01/2013 11:21 AM, Eric Nelson wrote:
...
> Shawn appears to have implemented things in a clean way
> for the main-line kernel:
>
> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/arch/arm/boot/dts/imx6q-pinfunc.h?id=c56009b2f6134e5943a03cf26e4d7fce9745d56b
>
> I recommend that we simply adopt the main-line kernel naming,
> and work up a couple of initial patches:
>
>         1. simply replace all of the names with their main-line
>         equivalent, and
>         2. remove all of the unused (NO_PAD_I,NO_MUX_I) pad
>         declarations
>
> Each of these should be easy to inspect for correctness
> and then we can focus on how to handle the differences
> and produce binaries that support both variants.
>
> Let me know your thoughts.
...

I fully support this idea; this easy:

* comparing code against Linux kernel;
* backporting code from Linux kernel;
* correctness (as we don't need to change it every time we add something "new");
* avoid continuous inspection of this during U-Boot work (often we
need to double check the pins are known and which name has been used);

Regards,


-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the U-Boot mailing list