aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2010-06-17nor/at91sam3: replace helper membufAntonio Borneo1-87/+39
Helper ./src/helper/membuf.c is only used in at91sam3.c 1) Replace membuf with LOG_* 2) The original code in sam3_GetDetails() invalidates all the buffered output of sam3_GetInfo(). The new code skips sam3_GetInfo() if its output should not be printed. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-06-16gdb: -Wshadow warning fixesØyvind Harboe1-1/+0
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-16gdb: clean up error handling in step/continueØyvind Harboe1-5/+15
if step/continue fails, then the error should be reported to the calling fn. The calling fn decides if the connection has to be aborted or if packet processing can continue. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-16xsvf: -Wshadow warning fixesØyvind Harboe1-2/+0
I think this fixed an error message where the error message would show the *previous* uc code rather than the current unsupported uc code. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-16svf: -Wshadow warning fixesØyvind Harboe1-15/+15
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-16mflash: -Wshadow warning fixØyvind Harboe1-3/+3
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-16arm_io: -Wshadow warning fixØyvind Harboe1-6/+6
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-16nand: when verify failed, it didn't return an errorØyvind Harboe1-6/+10
when the verify failed, it didn't return an error, which breaks e.g. tcl scripts that rely on this for exceptions to work. Found by -Wshadow Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-16tms470: -Wshadow warning fixesØyvind Harboe1-2/+2
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-16str9xpec: -Wshadow warning fixesØyvind Harboe1-3/+3
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-16str9x: -Wshadow warning fixesØyvind Harboe1-3/+3
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-16oops... backup file snuck in, remove it.Øyvind Harboe1-12823/+0
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-16str7x: -Wshadow warning fixesØyvind Harboe1-3/+3
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-16stm32x: -Wshadow warning fixesØyvind Harboe1-2/+2
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15stellaris: -Wshadow warning fixesØyvind Harboe1-2/+2
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15lpc2900: -Wshadow warning fixesØyvind Harboe1-15/+15
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15lpc2000: -Wshadow warning fixesØyvind Harboe1-3/+2
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15ecos flash: -Wshadow warning fixesØyvind Harboe1-2/+0
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15at91sam7: -Wshadow warning fixesØyvind Harboe1-26/+26
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15flash: -Wshadow warning fixØyvind Harboe1-2/+1
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15mips_ejtag: -Wshadow warning fixesØyvind Harboe1-2/+2
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15mips32_pracc: -Wshadow warning fixesØyvind Harboe1-3/+3
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15mips_m4k: -Wshadow warning fixesØyvind Harboe1-2/+2
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15mips32: -Wshadow warning fixesØyvind Harboe1-2/+2
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15cortex_a8: -Wshadow warning fixesØyvind Harboe1-9/+9
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15arm11_dbgtap: -Wshadow warning fixesØyvind Harboe1-16/+16
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15arm926ejs: -Wshadow warning fixØyvind Harboe1-10/+10
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15arm920t: -Wshadow warning fixesØyvind Harboe1-11/+12
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15arm720t: -Wshadow warning fixØyvind Harboe1-4/+4
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15adi_v5_jtag: -Wshadow warning fixesØyvind Harboe1-5/+5
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15arm_adi: -Wshadow warning fixØyvind Harboe1-3/+3
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15arm_simulator: -Wshadow warning fixesØyvind Harboe1-11/+11
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15arm_dpm: -Wshadow warning fixØyvind Harboe1-3/+3
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15target: -Wshdaow warning fixØyvind Harboe1-5/+5
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15breakpoint: -Wshadow warning fixØyvind Harboe1-4/+4
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15zy1000: -Wshadow warning fixØyvind Harboe1-2/+2
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15fileio: -Wshadow warning fixØyvind Harboe1-2/+2
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15jim: -Wshadow warning fixØyvind Harboe2-3/+12826
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15jim: more jim -Wshadow fixes that should be straightforwardØyvind Harboe1-7/+6
this bunch was a bit less obvious, but looked straightforward. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-15jim: -Wshadow fixesØyvind Harboe1-88/+88
this batch of fixes should be pretty straightforward rename of 'index' and an 'i' local variable shadowing. 'index' conflicts with a global name. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-14-Wshadow fixesØyvind Harboe4-17/+17
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-14cfi: add LOG_ERROR() in case of unsupported intel erase algorithmØyvind Harboe1-0/+3
found by code inspection. There are many other places in CFI where LOG_ERROR() should be called similarly... Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-14flash: fix bug in error propagation of flash write_imageØyvind Harboe3-6/+3
when a write/unlock/erase failed during write_image, then an error was not propagated back up so e.g. flash write image from tcl scripts would not throw an exception. Also flash filling speed was printed even when the operation failed. Output is now less confusing. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-14helper: fix -Wshadow warning in number parsingØyvind Harboe1-6/+6
use obtuse local variable names in macros to avoid interfering with global name space Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-14cfi: fix gaffe introduced in previous versionØyvind Harboe1-2/+2
flash probe broke w/in last commit. ecc8041c0f4c30a7310c0f8414a5261ee7a090ca Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-14target: fix retval gaffe in mwX commandsØyvind Harboe1-1/+1
failure to write to memory was not propagated. This is an interesting case of broken error handling: with exceptions we wouldn't have had this at all, and I also wonder if there is a GCC option to warn about these kinds of potential bugs. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2010-06-12TARGET: removed unused parametersAntonio Borneo7-27/+8
Parameters "domain" and "ap" of function armv4_5_mmu_translate_va() are not used. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-06-12TARGET: removed unsed parameterAntonio Borneo7-25/+11
Parameter "type" of function armv4_5_mmu_translate_va() is now not used. Remove the parameter and the "enum" listing its values. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-06-12TARGET: fix handling return code of MMU translationAntonio Borneo6-26/+0
Function armv4_5_mmu_translate_va() now properly signals errors in the return value. Remove former error handling by setting variable "type" to value "-1". Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-06-12TARGET/ARM920T: fix return valueAntonio Borneo1-1/+1
Function arm920t_write_memory() default return value should be ERROR_OK. All cases of local errors are handled immediately and not further propagated. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>