From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 6.mo1.mail-out.ovh.net ([46.105.43.205] helo=mo1.mail-out.ovh.net) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TJOCE-0000su-2U for barebox@lists.infradead.org; Wed, 03 Oct 2012 12:37:03 +0000 Received: from mail440.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo1.mail-out.ovh.net (Postfix) with SMTP id BB3A5FF9A05 for ; Wed, 3 Oct 2012 14:46:04 +0200 (CEST) Date: Wed, 3 Oct 2012 14:34:35 +0200 From: Jean-Christophe PLAGNIOL-VILLARD Message-ID: <20121003123435.GF26553@game.jcrosoft.org> References: <1349259879-32523-1-git-send-email-s.hauer@pengutronix.de> <20121003113550.GD26553@game.jcrosoft.org> <20121003123010.GE1322@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20121003123010.GE1322@pengutronix.de> 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] ARM pbl: Make usage of MMU in pbl optional To: Sascha Hauer Cc: barebox@lists.infradead.org On 14:30 Wed 03 Oct , Sascha Hauer wrote: > On Wed, Oct 03, 2012 at 01:35:50PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > > On 12:24 Wed 03 Oct , Sascha Hauer wrote: > > > Since this currently does not work on all boards make usage > > > of the MMU in the pbl optional until this has been resolved. > > > > > > Signed-off-by: Sascha Hauer > > > --- > > > arch/arm/cpu/start-pbl.c | 2 +- > > > common/Kconfig | 5 +++++ > > > 2 files changed, 6 insertions(+), 1 deletion(-) > > > > > > diff --git a/arch/arm/cpu/start-pbl.c b/arch/arm/cpu/start-pbl.c > > > index 932a3da..ceb60ab 100644 > > > --- a/arch/arm/cpu/start-pbl.c > > > +++ b/arch/arm/cpu/start-pbl.c > > > @@ -116,7 +116,7 @@ static void mmu_disable(void) > > > static void barebox_uncompress(void *compressed_start, unsigned int len) > > > { > > > void (*barebox)(void); > > > - int use_mmu = IS_ENABLED(CONFIG_MMU); > > > + int use_mmu = IS_ENABLED(CONFIG_PBL_USE_MMU); > > > > > > /* set 128 KiB at the end of the MALLOC_BASE for early malloc */ > > > free_mem_ptr = MALLOC_BASE + MALLOC_SIZE - SZ_128K; > > > diff --git a/common/Kconfig b/common/Kconfig > > > index b97392c..7e4cf1f 100644 > > > --- a/common/Kconfig > > > +++ b/common/Kconfig > > > @@ -139,6 +139,11 @@ config IMAGE_COMPRESSION_GZIP > > > > > > endchoice > > > > > > +config PBL_USE_MMU > > > + bool "Use MMU in PBL image" > > default y if MMU > > Can do, but can you then send a patch for the defconfigs which don't > work with MMU in the pbl? ok give one day to test all Best Regards, J. _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox