diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2014-03-19 08:20:36 -0700 |
---|---|---|
committer | Paul Fertser <fercerpav@gmail.com> | 2014-03-29 07:18:09 +0000 |
commit | 947a459e188994bf247f3582f18e6cb3eefb217b (patch) | |
tree | 8839ad02e6f504b299b8af694bc720dd1cab8adc /tcl/board/or1k_generic.cfg | |
parent | 91a36fcf0a8f1f44cb74ffdddb04c46f732b8a4b (diff) |
armv7m: Do not ignore 'value' parameter in armv7m_write_core_reg
Ignoring the value parameter in that function makes its code rather
misleading. Also the only caller of it, armv7m_restore_context already
does the whole "buf_get_u32" conversion business, so using
'value' also removes the waste of doing the conversion twice.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Change-Id: I515979c314d9b59ee1065c55b5bb5747c7e93f01
Reviewed-on: http://openocd.zylin.com/2057
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'tcl/board/or1k_generic.cfg')
0 files changed, 0 insertions, 0 deletions