Hi, On Wed, Jul 6, 2011 at 11:05 AM, Maximilian Schwerin <Maximilian.Schwerin@xxxxxxxxx> wrote: > I'm currently working on a beagleboard clone that has two NAND chips on > OMAP3 CS0 and CS1. The flash on CS0 works as expected. What would be the > correct way to get both chips to work? You need to add another gpmc_nand_device in arch/arm/mach-omap2/gpmc-nand.c with id 1 and fill it's .dev.platform_data correctly. If you plan to do a patch for mainline, it's probably best to make gpmc_nand_init() to take an array of omap_nand_platform_data structures and patch it to do platform_device_alloc() / platform_device_register() for each one of them, dropping global gpmc_nand_device. > > Thanks, Maximilian > -- Gražvydas -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html