Skip to content
Commit 9e962f76 authored by Dietmar Eggemann's avatar Dietmar Eggemann Committed by Will Deacon
Browse files

ARM: hw_breakpoint: use CRn as argument for debug reg accessor macros



The coprocessor register CRn for accesses to the debug register can be a
different one than C0. Take this into account for the ARM_DBG_READ and
the ARM_DBG_WRITE macro.

The inline assembler calls which used a coprocessor register CRn other
than C0 are replaced by the ARM_DBG_READ or ARM_DBG_WRITE macro.

Tested-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarDietmar Eggemann <dietmar.eggemann@arm.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 0daa034e
Loading
Loading
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