From: Marek Belisko <marek.belisko@open-nandra.com>
To: barebox@lists.infradead.org
Cc: Marek Belisko <marek.belisko@open-nandra.com>
Subject: [PATCH 2/2] pandaboard: Add gpmc_generic_init to board init.
Date: Tue, 31 Jan 2012 21:51:08 +0100 [thread overview]
Message-ID: <1328043068-9577-2-git-send-email-marek.belisko@open-nandra.com> (raw)
In-Reply-To: <1328043068-9577-1-git-send-email-marek.belisko@open-nandra.com>
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);
+
armlinux_set_bootparams((void *)0x80000100);
armlinux_set_architecture(MACH_TYPE_OMAP4_PANDA);
--
1.7.5.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2012-01-31 20:51 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 ` Marek Belisko [this message]
2012-03-02 8:04 ` [PATCH 2/2] pandaboard: Add gpmc_generic_init to board init Jan Weitzel
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=1328043068-9577-2-git-send-email-marek.belisko@open-nandra.com \
--to=marek.belisko@open-nandra.com \
--cc=barebox@lists.infradead.org \
/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