]> git.sur5r.net Git - openocd/commit
arm_dpm: fix dpm setup
authorGirts Folkmanis <girtsf@users.noreply.github.com>
Fri, 3 Mar 2017 17:49:58 +0000 (09:49 -0800)
committerPaul Fertser <fercerpav@gmail.com>
Mon, 6 Mar 2017 09:58:43 +0000 (09:58 +0000)
commit6b2acc0243f6dd54823c336ded8c20d16cdc50a3
tree57393b8727b71b9b1b14fa5848319b70e6c61c16
parent77189db85630cef21a4887a9b1c15dac3fd48473
arm_dpm: fix dpm setup

When ARM64 support was being merged, a comparison ended up being
inverted. This causes NULL pointer access when target attempts to
use core cache.

Change-Id: Ic8873ddd13dbdd8100856a71b4717f44cd336e23
Signed-off-by: Girts Folkmanis <opensource@girts.me>
Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
Reviewed-on: http://openocd.zylin.com/4042
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
src/target/arm_dpm.c