when the bootmode is different than NAND (USB for example), the GPMI clock is not enabled thus we can't probe a NAND flash. Tested on an i.MX28 Signed-off-by: Eric Bénard <eric@xxxxxxxxxx> --- drivers/mtd/nand/nand_mxs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/nand/nand_mxs.c b/drivers/mtd/nand/nand_mxs.c index 8e5c83c..d1e4b57 100644 --- a/drivers/mtd/nand/nand_mxs.c +++ b/drivers/mtd/nand/nand_mxs.c @@ -1259,6 +1259,7 @@ static int mxs_nand_probe(struct device_d *dev) nand_info->dma_channel_base = 0; } else { nand_info->dma_channel_base = MXS_DMA_CHANNEL_AHB_APBH_GPMI0; + clk_enable(nand_info->clk); } err = mxs_nand_alloc_buffers(nand_info); -- 1.8.3.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox