]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mtd: nand: omap_gpmc: Enable multiple NAND flash devices
authorRostislav Lisovy <lisovy@gmail.com>
Tue, 2 Sep 2014 14:23:58 +0000 (16:23 +0200)
committerTom Rini <trini@ti.com>
Thu, 4 Sep 2014 17:06:00 +0000 (13:06 -0400)
commit5c3f7e0ead6db15dc1888cd126b2420ae87980c4
treee60d541865d7f55f2bdb38438a13c6a13a5ed4c0
parentfc12a1f589ff54abafba42f17649955a1536ee04
mtd: nand: omap_gpmc: Enable multiple NAND flash devices

Since the CS of a device connected to the GPMC was
stored in the global variable, it was not possible to
use multiple devices. In this patch the CS is stored per
device in its 'struct omap_nand_info'. This makes it
possible to use up to 'GPMC_MAX_CS' NAND Flash devices
connected to U-boot.

Signed-off-by: Rostislav Lisovy <lisovy@merica.cz>
drivers/mtd/nand/omap_gpmc.c