On Sat, Mar 07, 2015 at 02:21:26PM +0100, Rafał Miłecki wrote: > On 7 March 2015 at 02:18, Brian Norris <computersforpeace@xxxxxxxxx> wrote: > > + /* NAND register range */ > > + res = platform_get_resource(pdev, IORESOURCE_MEM, 0); > > + ctrl->nand_base = devm_ioremap_resource(dev, res); > > + if (!ctrl->nand_base) > > + return -ENODEV; > > This is what I got during my first test: > brcmstb_nand 11315e0.nand: can't request region for resource [mem > 0x011315e0-0x011325df] > Unable to handle kernel paging request at virtual address fffffff0 > (not sure why yet). > > Hint: devm_ioremap_resource does never return NULL Thanks, fixed in 3 places. I expect you've figured out your problem here by now. Brian -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html