From 5ed126c4f90948fbf53d186dc4ef49018fb5ecfc Mon Sep 17 00:00:00 2001 From: drath Date: Mon, 26 Mar 2007 21:47:26 +0000 Subject: - 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 --- src/pld/xilinx_bit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/pld') diff --git a/src/pld/xilinx_bit.c b/src/pld/xilinx_bit.c index 7bf72b2e..3c99db0d 100644 --- a/src/pld/xilinx_bit.c +++ b/src/pld/xilinx_bit.c @@ -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) -- cgit v1.2.3