omap_gpmc: move prefetch out of CONFIG_NAND_OMAP_ELM
authorJeroen Hofstee <jeroen@myspectrum.nl>
Sat, 30 May 2015 08:11:23 +0000 (10:11 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 18 Jun 2015 15:23:45 +0000 (11:23 -0400)
commitc07361145ff9a28e129a5ef49213cf2beba911e5
tree1a94f6e4b98fe867c2647547ecb57c3d915c3eed
parent24e741269605ff7f073e83294852dd16edcd22c0
omap_gpmc: move prefetch out of CONFIG_NAND_OMAP_ELM

The prefech mode is a feature of the gpmc, not the ELM. An am3517
does not have an elm, but can do prefeches, so move the code out
of the CONFIG_NAND_OMAP_ELM ifdef.

Cc: Scott Wood <scottwood@freescale.com>
Cc: Tom Rini <trini@konsulko.com>
Cc: Daniel Mack <zonque@gmail.com>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/mtd/nand/omap_gpmc.c