diff options
author | Aaron Wu <Aaron.Wu@analog.com> | 2013-03-06 05:37:49 -0500 |
---|---|---|
committer | Steven Miao <realmz6@gmail.com> | 2013-05-07 06:27:03 -0400 |
commit | 7546dfb0b23eb695cc01e2d27101bf82077bc0a4 (patch) | |
tree | 81888f6e02b5c0aa36d79c9724ee7cd6520c9619 /arch/blackfin/mach-bf537 | |
parent | 3e730e6ffced37338a6bec88ba2829fdb247b410 (diff) |
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>
Diffstat (limited to 'arch/blackfin/mach-bf537')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 95114ed395ac..6a3a14bcd3a1 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -455,6 +455,7 @@ static struct platform_device bfin_async_nand_device = { | |||
455 | static void bfin_plat_nand_init(void) | 455 | static void bfin_plat_nand_init(void) |
456 | { | 456 | { |
457 | gpio_request(BFIN_NAND_PLAT_READY, "bfin_nand_plat"); | 457 | gpio_request(BFIN_NAND_PLAT_READY, "bfin_nand_plat"); |
458 | gpio_direction_input(BFIN_NAND_PLAT_READY); | ||
458 | } | 459 | } |
459 | #else | 460 | #else |
460 | static void bfin_plat_nand_init(void) {} | 461 | static void bfin_plat_nand_init(void) {} |