mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] ARM pbl: Make usage of MMU in pbl optional
Date: Wed, 3 Oct 2012 14:30:10 +0200	[thread overview]
Message-ID: <20121003123010.GE1322@pengutronix.de> (raw)
In-Reply-To: <20121003113550.GD26553@game.jcrosoft.org>

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 <s.hauer@pengutronix.de>
> > ---
> >  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?

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

  reply	other threads:[~2012-10-03 12:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-03 10:24 Sascha Hauer
2012-10-03 11:35 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-03 12:30   ` Sascha Hauer [this message]
2012-10-03 12:34     ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-03 14:12       ` Sascha Hauer
2012-10-03 15:07         ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-03 15:21         ` Jean-Christophe PLAGNIOL-VILLARD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121003123010.GE1322@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=plagnioj@jcrosoft.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox