[PATCH 1/7] ARM: add initial i.MX6 support

Sascha Hauer s.hauer at pengutronix.de
Sun Apr 15 05:53:13 EDT 2012


On Sun, Apr 15, 2012 at 03:31:42AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 22:13 Sat 14 Apr     , Sascha Hauer wrote:
> > On Sat, Apr 14, 2012 at 06:11:23PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > > On 15:54 Fri 13 Apr     , Sascha Hauer wrote:
> > > > Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> > > > ---
> > > >  arch/arm/mach-imx/Kconfig                     |    7 +-
> > > >  arch/arm/mach-imx/Makefile                    |    1 +
> > > >  arch/arm/mach-imx/imx6.c                      |   71 +
> > > >  arch/arm/mach-imx/include/mach/clock-imx6.h   |  530 +++
> > > >  arch/arm/mach-imx/include/mach/devices-imx6.h |   46 +
> > > >  arch/arm/mach-imx/include/mach/generic.h      |    6 +
> > > >  arch/arm/mach-imx/include/mach/imx-regs.h     |    2 +
> > > >  arch/arm/mach-imx/include/mach/imx6-anadig.h  |  721 ++++
> > > >  arch/arm/mach-imx/include/mach/imx6-regs.h    |  132 +
> > > >  arch/arm/mach-imx/include/mach/imx6.h         |    6 +
> > > >  arch/arm/mach-imx/include/mach/iomux-mx6.h    | 5630 +++++++++++++++++++++++++
> > > >  arch/arm/mach-imx/speed-imx6.c                |  393 ++
> > > >  drivers/mci/Kconfig                           |    2 +-
> > > >  include/asm-generic/barebox.lds.h             |    7 +-
> > > >  14 files changed, 7551 insertions(+), 3 deletions(-)
> > > >  create mode 100644 arch/arm/mach-imx/imx6.c
> > > >  create mode 100644 arch/arm/mach-imx/include/mach/clock-imx6.h
> > > >  create mode 100644 arch/arm/mach-imx/include/mach/devices-imx6.h
> > > >  create mode 100644 arch/arm/mach-imx/include/mach/imx6-anadig.h
> > > >  create mode 100644 arch/arm/mach-imx/include/mach/imx6-regs.h
> > > >  create mode 100644 arch/arm/mach-imx/include/mach/imx6.h
> > > >  create mode 100644 arch/arm/mach-imx/include/mach/iomux-mx6.h
> > > >  create mode 100644 arch/arm/mach-imx/speed-imx6.c
> > > > 
> > > > diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
> > > > index 2f317c2..8a0979a 100644
> > > > --- a/arch/arm/mach-imx/Kconfig
> > > > +++ b/arch/arm/mach-imx/Kconfig
> > > on IMX you could set the ARCH_BAREBOX_MAX_BARE_INIT_SIZE so you can check at
> > > the compilation that the code fit in sram
> > 
> > No, there is no such limitation here.
> > 
> > Please trim your answers.
> when you boot from internal boot from nand we have no limit?
> 
> IIRC we have

No, there is no limit, at least not when we use the real barebox size
instead of 0x40000 like you suggested.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list