]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: OMAP2+: onenand: connected soc info in pdata
authorAfzal Mohammed <afzal@ti.com>
Fri, 5 Oct 2012 06:09:54 +0000 (11:39 +0530)
committerAfzal Mohammed <afzal@ti.com>
Mon, 15 Oct 2012 09:11:59 +0000 (14:41 +0530)
commiteb77b6a78ac7f63985a3f592baf80ff33d213c48
tree2e77450150a5db8f27f8a58efa954b5b9c97e353
parent4ea1e4ba7bec0a3d490a846376140643e4860536
ARM: OMAP2+: onenand: connected soc info in pdata

onenand driver needs to know whether soc is falling under
34xx family to properly handle onenand. But driver is not
supposed to do cpu_is_* check, hence educate platform data
with this information. Driver can make use of it to avoid
cpu_is_* check.

Signed-off-by: Afzal Mohammed <afzal@ti.com>
arch/arm/mach-omap2/gpmc-onenand.c
include/linux/platform_data/mtd-onenand-omap2.h