summaryrefslogtreecommitdiff
path: root/include/linux/string.h
diff options
context:
space:
mode:
authorNick Spence <[email protected]>2008-08-22 23:52:50 -0700
committerKim Phillips <[email protected]>2008-09-03 16:06:46 -0500
commitd9fe88173cb4f7d293796ffe10c7a0d3d426d8f9 (patch)
tree1e41ed69bee55104040500de9cbfd8f86bc896c6 /include/linux/string.h
parent628ffd73bcff0c9f3bc5a8eeb2c7455fe9d28a51 (diff)
MPC83XX: Fix GPIO configuration - set gpio level before direction
Set DAT value before DIR values to avoid creating glitches on the GPIO signals. Set gpio level register before direction register to inhibit glitches on high level output pins. Dir and data gets cleared at powerup, so high level output lines see a short low pulse between setting the direction and level registers. Issue was seen on a new board with the nReset line of the NOR flash connected to a GPIO. Setting the direction register puts the NOR flash in reset so the next instruction to set the level cannot get executed. Signed-off-by: Nick Spence <[email protected]> Signed-off-by: Peter Korsgaard <[email protected]> Signed-off-by: Kim Phillips <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions