[U-Boot] [PATCH] mx23: Add POWER and CLKCTRL register definitions

Otavio Salvador otavio at ossystems.com.br
Tue Dec 4 12:09:41 CET 2012


On Tue, Dec 4, 2012 at 5:59 AM, Stefano Babic <sbabic at denx.de> wrote:

> On 25/11/2012 01:21, Marek Vasut wrote:
> > Add register definitions for the i.MX23 power control block and
> > clock control block. These are essential for the basic bootstrap
> > of the i.MX23. Also, properly include them in imx-regs.h .
> >
> > Signed-off-by: Marek Vasut <marex at denx.de>
> > Cc: Stefano Babic <sbabic at denx.de>
> > ---
>
> Hi Marek, Hi Otavio,
>
> >  arch/arm/include/asm/arch-mxs/imx-regs.h          |    5 +
> >  arch/arm/include/asm/arch-mxs/regs-clkctrl-mx23.h |  221 +++++++++++++
> >  arch/arm/include/asm/arch-mxs/regs-power-mx23.h   |  357
> +++++++++++++++++++++
> >  3 files changed, 583 insertions(+)
> >  create mode 100644 arch/arm/include/asm/arch-mxs/regs-clkctrl-mx23.h
> >  create mode 100644 arch/arm/include/asm/arch-mxs/regs-power-mx23.h
> >
>
> The main (and only issue) here is that there is not yet a board with
> MX23 in u-boot to use this code. Then this is dead code, and I cannot
> merge it now - I will postpone this patch.
>
> The best way to add support for this SOC is, as usually, to get a bunch
> of patches with the last ones for a board using the SOC. Else we are
> unsure that the code we introduce can be really used later.
>

I agree; I have applied it in my tree and will send it together with other
patches when I have something useful.

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br


More information about the U-Boot mailing list