openocd/src
Tomas Vanek a9fb0d07f0 flash/nor/at91sam: implement flash bank deallocation for SAM series
Microchip (former Atmel) SAM drivers allocate a struct per chip.

at91sam3, at91sam34:
Deallocate all chip structs from the list at once, on the first bank
deallocation.

at91samd and at91sam4l drivers do not handle more than one bank.
Convert them to simple driver_priv allocation and use
default_flash_free_driver_priv().

Change-Id: I49d7200f38a4568c7e12f306c27d1b1b72646736
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/4416
Tested-by: jenkins
2018-04-10 06:19:01 +01:00
..
flash flash/nor/at91sam: implement flash bank deallocation for SAM series 2018-04-10 06:19:01 +01:00
helper helper/types: cast to uint32_t,uint16_t to avoid UB by shifting int too far 2018-03-12 14:12:07 +00:00
jtag drivers/kitprog: workaround KitProg firmware bug of missing ZLP 2018-04-04 21:26:59 +01:00
pld Convert to non-recursive make 2016-12-08 16:23:10 +00:00
rtos rtos: Fix XPSR_OFFSET for cortex_m4f stacking 2018-04-07 20:33:39 +01:00
server gdb_server: gdb_memory_map() rework 2018-04-07 20:34:28 +01:00
svf svf: improve robustness when processing invalid SVF files 2018-03-13 08:41:21 +00:00
target target armv7m: multi-block erase check 2018-04-10 06:17:00 +01:00
transport configure: disable all drivers when zy1000 is enabled 2018-04-09 09:04:46 +01:00
xsvf Convert to non-recursive make 2016-12-08 16:23:10 +00:00
hello.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
hello.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
main.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
Makefile.am Convert to non-recursive make 2016-12-08 16:23:10 +00:00
openocd.c jtag/core, target: unregister JTAG events 2018-03-30 10:15:23 +01:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00