riscv-openocd/src/flash
Tomas Vanek 8437c94c01 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-05-08 15:21:49 -07:00
..
nand Fix GCC7 warnings about switch-case fallthroughs 2017-10-23 10:54:16 +01:00
nor flash/nor/at91sam: implement flash bank deallocation for SAM series 2018-05-08 15:21:49 -07:00
Makefile.am Convert to non-recursive make 2016-12-08 16:23:10 +00:00
common.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
common.h flash/nor: at91samd protection bits write fix 2016-12-08 12:19:19 +00:00
mflash.c Fix GCC7 warnings about switch-case fallthroughs 2017-10-23 10:54:16 +01:00
mflash.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
startup.tcl flash/startup: make program accept filenames with spaces and other characters 2018-01-13 08:43:26 +00:00