[PATCH 2/2] pandaboard: Add gpmc_generic_init to board init.
Marek Belisko
marek.belisko at open-nandra.com
Tue Jan 31 15:51:08 EST 2012
We need to setup generic gpmc otherwise kernel panic during boot.
Signed-off-by: Marek Belisko <marek.belisko at 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
More information about the barebox
mailing list