Commit 7546dfb0 authored by Aaron Wu's avatar Aaron Wu Committed by Steven Miao

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: default avatarAaron Wu <Aaron.Wu@analog.com>
Signed-off-by: default avatarSteven Miao <realmz6@gmail.com>
parent 3e730e6f
......@@ -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) {}
......
Markdown is supported
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