Skip to content
Commit 74ddcdb8 authored by Rob Herring's avatar Rob Herring Committed by Russell King
Browse files

ARM: 7608/1: l2x0: Only set .set_debug on PL310 r3p0 and earlier



PL310 errata work-arounds using .set_debug function are only needed on
r3p0 and earlier, so check the rev and only set .set_debug on older revs.

Avoiding debug register accesses fixes aborts on non-secure platforms
like highbank. It is assumed that non-secure platforms needing these
work-arounds have already implemented .set_debug with secure monitor
calls.

Signed-off-by: default avatarRob Herring <rob.herring@calxeda.com>
Acked-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 4a490b78
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