Platform Nand: Set the GPIO for NAND read as input

This patch is from Frank.Shew,fshew@geometrics.com to fix the
following problem:having extremely slow responses with the NAND
due to timeouts on the ready status signal, which eventually
caused the watchdog to time out.

Signed-off-by: Aaron Wu <Aaron.Wu@analog.com>
Signed-off-by: Steven Miao <realmz6@gmail.com>
This commit is contained in:
Aaron Wu 2013-03-06 18:37:49 +08:00 коммит произвёл Steven Miao
Родитель 3e730e6ffc
Коммит 7546dfb0b2
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -455,6 +455,7 @@ static struct platform_device bfin_async_nand_device = {
static void bfin_plat_nand_init(void)
{
gpio_request(BFIN_NAND_PLAT_READY, "bfin_nand_plat");
gpio_direction_input(BFIN_NAND_PLAT_READY);
}
#else
static void bfin_plat_nand_init(void) {}