summaryrefslogtreecommitdiff
path: root/src/target/armv4_5_cache.c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-11-22 15:50:24 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-11-22 15:50:24 -0800
commitfa9b0e2167c295c1f0de349563b893540fc73cb0 (patch)
treed753627d500b4612c1b38ba02824d5933c3237b4 /src/target/armv4_5_cache.c
parentaf7f6891e98d538eabcf137d89f28bf3406a4999 (diff)
downloadopenocd_libswd-fa9b0e2167c295c1f0de349563b893540fc73cb0.tar.gz
openocd_libswd-fa9b0e2167c295c1f0de349563b893540fc73cb0.tar.bz2
openocd_libswd-fa9b0e2167c295c1f0de349563b893540fc73cb0.tar.xz
openocd_libswd-fa9b0e2167c295c1f0de349563b893540fc73cb0.zip
ARM11: macro cleanup
Make this code look more like the rest of the OpenOCD code. - Use calloc() directly, not NEW() ... and fix some potential memory leaks while we're at it. - Remove FNC_INFO ... it's a NOP that just clutters things, and it's trivial for developers to add tracing as needed. - Replace FNC_INFO_NOTIMPLEMENTED with LOG_WARNING calls; ditto. And stop having those call sites wrongly succeed! - Waste less space with the CHECK_RETVAL() macro. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/armv4_5_cache.c')
0 files changed, 0 insertions, 0 deletions