ARM: OMAP2+: onenand: refactor for clarity
authorAfzal Mohammed <afzal@ti.com>
Tue, 5 Jun 2012 04:41:48 +0000 (10:11 +0530)
committerAfzal Mohammed <afzal@ti.com>
Mon, 15 Oct 2012 09:10:26 +0000 (14:40 +0530)
commit46376884ce0a98c276187a169620a766f0941f08
treef378b7eb948522d4ca5ae277ed42a4d264fa46a8
parent2e618261c96d72e5c5409d134d6d93e679683ab8
ARM: OMAP2+: onenand: refactor for clarity

Refactor set_async_mode & set_sync_mode functions to
separate out timing calculation & actual configuration
(GPMC & OneNAND side).

Thanks to Jon for his suggestions.

Signed-off-by: Afzal Mohammed <afzal@ti.com>
Reviewed-by: Jon Hunter <jon-hunter@ti.com>
arch/arm/mach-omap2/gpmc-onenand.c