ARM: imx: clk-vf610: enable debug access port by default
authorStefan Agner <stefan@agner.ch>
Sun, 17 May 2015 22:13:33 +0000 (00:13 +0200)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 3 Jun 2015 06:49:36 +0000 (14:49 +0800)
commitd930d56825e934dc464cdad3f909333f994a89f3
tree41096eb7d014acdc55a4ec0a8a594b6e5d0602bc
parent1579c7b9fe0105a523440ec13b0c59da53c880e3
ARM: imx: clk-vf610: enable debug access port by default

Enabled DAP (debug access port) by default. This enables the hw-
breakpoint framework to make use of the breakpoints and watchpoints
supported by hardware.

[    0.215805] hw-breakpoint: found 2 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.224624] hw-breakpoint: maximum watchpoint size is 4 bytes.

Without this clock, the hw-breakpoint driver claims an undefined
instruction during initialization:
[    0.227380] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 0
[    0.227519] hw-breakpoint: CPU 0 failed to disable vector catch

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
drivers/clk/imx/clk-vf610.c
include/dt-bindings/clock/vf610-clock.h