Re: Multiple NAND flash chips on OMAP3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux