diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-15 10:35:34 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-15 10:35:34 -0800 |
commit | 269040bbad7f18066f5ec5707447c33de6290ef5 (patch) | |
tree | 0edee9fc57079e977eb01b13a392963fb70968d9 /contrib | |
parent | 9ac7cdec82c19481b79f2effcefb7106dd7ade41 (diff) | |
download | openocd_libswd-269040bbad7f18066f5ec5707447c33de6290ef5.tar.gz openocd_libswd-269040bbad7f18066f5ec5707447c33de6290ef5.tar.bz2 openocd_libswd-269040bbad7f18066f5ec5707447c33de6290ef5.tar.xz openocd_libswd-269040bbad7f18066f5ec5707447c33de6290ef5.zip |
ARM: memory utils aren't ARM7/ARM9 dependent
The arm7_9_checksum_memory() and arm7_9_blank_check_memory()
routines are not actually specific to the ARM7 and ARM9 core
generations ... they can work for any core which can run
algorithms using basic ARM (not Thumb) instructions.
Rename them; move the declarations to a more generic site;
likewise move the code (and tidy it a bit in the process).
NOTE: the blank_check() method falsely returned a success
status (0) on one error path, when the algorithm failed.
Fixed this bug.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions