- fixed arm926 cp15 command bug (thanks to Vincent Palatin for this patch)
- fixed compiler warnings throughout the code (thanks to Vincent Palatin for this patch) - added support for accessing ETB (embedded trace buffer) registers git-svn-id: svn://svn.berlios.de/openocd/trunk@134 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -67,8 +67,7 @@ int read_section(FILE *input_file, int length_size, char section, u32 *buffer_le
|
||||
|
||||
if (length_size == 4)
|
||||
length = be_to_h_u32(length_buffer);
|
||||
|
||||
if (length_size == 2)
|
||||
else /* (length_size == 2) */
|
||||
length = be_to_h_u16(length_buffer);
|
||||
|
||||
if (buffer_length)
|
||||
|
||||
Reference in New Issue
Block a user