From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by casper.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SJM99-0003Ey-B0 for barebox@lists.infradead.org; Sun, 15 Apr 2012 09:53:28 +0000 Date: Sun, 15 Apr 2012 11:53:13 +0200 From: Sascha Hauer Message-ID: <20120415095313.GE3852@pengutronix.de> References: <1334325273-1701-1-git-send-email-s.hauer@pengutronix.de> <1334325273-1701-2-git-send-email-s.hauer@pengutronix.de> <20120414161123.GB30672@game.jcrosoft.org> <20120414201356.GC3852@pengutronix.de> <20120415013142.GE30672@game.jcrosoft.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20120415013142.GE30672@game.jcrosoft.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 1/7] ARM: add initial i.MX6 support To: Jean-Christophe PLAGNIOL-VILLARD Cc: barebox@lists.infradead.org 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 > > > > --- > > > > 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 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox