Skip to content
Commit 97a288ba authored by Rostislav Lisovy's avatar Rostislav Lisovy Committed by Roger Quadros
Browse files

ARM: omap2+: gpmc-nand: Use dynamic platform_device_alloc()



GPMC controller supports up to 8 memory devices connected to it.
Since there is one statically allocated "struct platform_device
gpmc_nand_device" it is not possible to configure the system to
use more than one NAND device connected to the GPMC. This
modification makes it possible to use up to 8 NAND devices
connected to the GPMC controller.

Signed-off-by: default avatarRostislav Lisovy <lisovy@merica.cz>
Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
parent cd3de83f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment