]> git.sur5r.net Git - openocd/commit
ARM7/9: rm arm7_9_get_arch_pointers()
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 13 Nov 2009 21:44:50 +0000 (13:44 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 13 Nov 2009 21:44:50 +0000 (13:44 -0800)
commitafe0298399bd06700926822e6d49c5bc44151956
tree55daffc576bd1264222a9602778b1f12d3e7cdfc
parent6435e75e147a6559ed4f784b5e89c8390e787a2a
ARM7/9: rm arm7_9_get_arch_pointers()

Remove the last external user of arm7_9_get_arch_pointers(), and
that annoying downcast utility.  Add an is_arm7_9() predicate.

Stop returning specious success codes on various failure paths
in the ARM7/ARM9 commands which used that downcast utility.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/flash/ocl.c
src/target/arm7_9_common.c
src/target/arm7_9_common.h