Skip to contentSkip to conversation

pcm049: use gpmc_generic_init

PATCH New Jan Weitzel 1 participant 1 message Jun 10, 2011 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pcm049: use gpmc_generic_init

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

---
 arch/arm/boards/pcm049/board.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/boards/pcm049/board.c +2 -0
index a33a877..2303a9c 100644
@@ -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);
Signature · 7 lines
1.7.0.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox