mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jan Weitzel <J.Weitzel@phytec.de>
To: Marek Belisko <marek.belisko@open-nandra.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 2/2] pandaboard: Add gpmc_generic_init to board init.
Date: Fri, 02 Mar 2012 09:04:40 +0100	[thread overview]
Message-ID: <1330675480.3149.4.camel@lws-weitzel> (raw)
In-Reply-To: <1328043068-9577-2-git-send-email-marek.belisko@open-nandra.com>

Am Dienstag, den 31.01.2012, 21:51 +0100 schrieb Marek Belisko:
> We need to setup generic gpmc otherwise kernel panic during boot.
> 
> Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
> ---
>  arch/arm/boards/panda/board.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/boards/panda/board.c b/arch/arm/boards/panda/board.c
> index be3ad77..1c71545 100644
> --- a/arch/arm/boards/panda/board.c
> +++ b/arch/arm/boards/panda/board.c
> @@ -20,6 +20,7 @@
>  #include <mach/gpio.h>
>  #include <environment.h>
>  #include <mach/xload.h>
> +#include <mach/gpmc.h>
>  
>  static int board_revision;
>  
> @@ -137,6 +138,8 @@ static int panda_devices_init(void)
>  			   IORESOURCE_MEM, NULL);
>  	panda_ehci_init();
>  
> +	gpmc_generic_init(0x00);
> +

3.3.0-rc5 is still not booting without this patch. Using panda_defconfig
implicitly select CONFIG_OMAP_GPMC.

>  	armlinux_set_bootparams((void *)0x80000100);
>  	armlinux_set_architecture(MACH_TYPE_OMAP4_PANDA);
>  



_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2012-03-02  8:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-31 20:51 [PATCH 1/2] omap: Remove OMAP_GPMC prompt and usage Marek Belisko
2012-01-31 20:51 ` [PATCH 2/2] pandaboard: Add gpmc_generic_init to board init Marek Belisko
2012-03-02  8:04   ` Jan Weitzel [this message]
2012-03-03 12:11     ` Belisko Marek
2012-02-01  9:32 ` [PATCH 1/2] omap: Remove OMAP_GPMC prompt and usage Premi, Sanjeev
2012-02-01 10:16   ` Belisko Marek
2012-02-01 11:05     ` Premi, Sanjeev
2012-02-01 11:09       ` Belisko Marek
2012-02-01 13:52         ` Premi, Sanjeev
2012-02-01 13:51       ` Sascha Hauer
2012-02-01 14:10         ` Premi, Sanjeev
2012-02-07 20:22           ` Belisko Marek

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=1330675480.3149.4.camel@lws-weitzel \
    --to=j.weitzel@phytec.de \
    --cc=barebox@lists.infradead.org \
    --cc=marek.belisko@open-nandra.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