summaryrefslogtreecommitdiff
path: root/include/debug_uart.h
diff options
context:
space:
mode:
authorMichal Sojka <[email protected]>2015-02-17 17:08:37 +0100
committerTom Rini <[email protected]>2015-03-05 20:49:42 -0500
commitd8af39337ea82403fb54a9d345d2e47fac4a8460 (patch)
tree84ed2f04b4c4f0dd8932be015f98dbfedd92476b /include/debug_uart.h
parent22b7509efb35d7bda05260d5730124dbdc3ea9dc (diff)
mtd: nand: omap_gpmc: Make ready/busy pins configurable
Commit fb384c4720ca7496775d6578f184bf628db73456 introduced the use of WAIT0 pin for determining whether the NAND is ready or not. This only works if all NAND chips are connected to WAIT0. If some chips are connected to the other available pin WAIT1, nand_wait() does not really wait and prints a WARN_ON message. This patch allows the board to provide configuration of which chip is connected to which WAITx signal. For example, one can define in include/configs/foo.h: #define CONFIG_NAND_OMAP_GPMC_WSCFG 0,0,1,1 This would mean that chips using to CS0 and 1 are connected to WAIT0 and chips with CS2 and 3 are connected to WAIT1. Signed-off-by: Michal Sojka <[email protected]> Acked-by: Stefan Roese <[email protected]> Tested-by: Michal Vokáč <[email protected]> Cc: Tom Rini <[email protected]>
Diffstat (limited to 'include/debug_uart.h')
0 files changed, 0 insertions, 0 deletions