Skip to content
Snippets Groups Projects
Commit 734af242 authored by Stefano Babic's avatar Stefano Babic Committed by Tom Rini
Browse files

OMAP: disable gpmc timeout safely for reenabling


gpmc timeout is disabled and the reset counter
is set to 0. However, if later a driver activates
the timeout setting the reset to a valid value,
the old reset value with zero is still valid
for the first access. In fact, the timeout block
loads the reset counter after a successful access.

Found on a am335x board with a FPGA connected
to the GPMC bus together with the NAND.
When the FPGA driver in kernel activates
the timeout, the system hangs at the first access
by the NAND driver.

Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
parent fd3f401b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment