mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] pcm049: use gpmc_generic_init
@ 2011-06-10  9:43 Jan Weitzel
  0 siblings, 0 replies; only message in thread
From: Jan Weitzel @ 2011-06-10  9:43 UTC (permalink / raw)
  To: barebox

If booting from NAND GPMC_IRQ_ENABLE is not cleared, causing crash if kernel
request the gpmc irq. gpmc_generic_init clears GPMC_IRQ_ENABLE

Signed-off-by: Jan Weitzel <j.weitzel@phytec.de>
---
 arch/arm/boards/pcm049/board.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boards/pcm049/board.c b/arch/arm/boards/pcm049/board.c
index a33a877..2303a9c 100644
--- a/arch/arm/boards/pcm049/board.c
+++ b/arch/arm/boards/pcm049/board.c
@@ -145,6 +145,8 @@ static int pcm049_devices_init(void)
 	register_device(&sram_dev);
 	register_device(&hsmmc_dev);
 
+	gpmc_generic_init(0x10);
+
 	pcm049_network_init();
 
 	gpmc_generic_nand_devices_init(0, 8, OMAP_ECC_BCH8_CODE_HW);
-- 
1.7.0.4


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-06-10  9:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-10  9:43 [PATCH] pcm049: use gpmc_generic_init Jan Weitzel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox