]> git.sur5r.net Git - openocd/commit
nor/at91sam3: replace helper membuf
authorAntonio Borneo <borneo.antonio@gmail.com>
Mon, 14 Jun 2010 04:22:10 +0000 (12:22 +0800)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 17 Jun 2010 05:20:36 +0000 (07:20 +0200)
commit984bf158213b7cc040975c52aada4830d8d98e79
tree330a112a609448ca238f2c02e42268aa17266f66
parent814c2a8f9a41a6445f131ee35474dced4bbed210
nor/at91sam3: replace helper membuf

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>
src/flash/nor/at91sam3.c