[PATCH] pcm049: use gpmc_generic_init
Jan Weitzel
j.weitzel at phytec.de
Fri Jun 10 05:43:49 EDT 2011
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 at 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
More information about the barebox
mailing list