riscv-openocd/contrib/loaders/flash
Tim Newsome 93de2c955c
Clean up fespi flashing code (#313)
* WIP upstream review feedback.

See http://openocd.zylin.com/#/c/4656/

The main change is to get rid of macros that contain a return statement.

Change-Id: Iff79a8aa7c40ee04a8d1f07d973f9b29d4899d5c

* Remove unaligned head/tail code.

From inspection it's not clear to me that this is necessary at all. I've
been unable to make a test case that results in anything besides a
4-byte aligned flash to happen. Sections that aren't multiples of 4 are
common, and appear to work fine.

Change-Id: Idb6109ca015ae06b9d8f16bd883f9c8f5c51087d

* Move fespi native code into contrib/loaders

As suggested by http://openocd.zylin.com/#/c/4656/

Change-Id: I275012aa8a1ef6a0e8a2ec8ebe8643d87de24407

* Reenable hw mode if errors happen without it.

Change-Id: I1220033c13d02e8a441992bd6daa0ec3b5acbfca

* Default flash to not protected.

Requested by upstream review.

Change-Id: I61753bd9909d7f21ef6624037a865072c18bd1d8
2018-11-06 10:40:02 -08:00
..
at91sam7x From upstream (#286) 2018-08-20 14:55:30 -07:00
bluenrg-x Added support for STMicroelectronics BlueNRG-1 and BlueNRG-2 SoC 2018-03-07 23:40:55 +00:00
cc26xx From upstream (#286) 2018-08-20 14:55:30 -07:00
cc3220sf flash/nor: Add support for TI CC3220SF internal flash 2018-06-06 15:38:25 +01:00
fespi Clean up fespi flashing code (#313) 2018-11-06 10:40:02 -08:00
fm4 contrib/loaders: Enforce Little Endian ARM machine code 2016-08-14 11:45:15 +01:00
fpga jtagspi: new protocol that includes transfer length 2018-01-13 19:36:42 +00:00
kinetis flash Kinetis: longword programming changed to flash_async_algorithm 2016-11-04 21:26:46 +00:00
kinetis_ke contrib/loaders: Enforce Little Endian ARM machine code 2016-08-14 11:45:15 +01:00
msp432 From upstream (#286) 2018-08-20 14:55:30 -07:00
stm32 Remove FSF address to satisfy checkpatch 2018-05-14 12:26:04 -07:00
xmc1xxx contrib/loaders: Enforce Little Endian ARM machine code 2016-08-14 11:45:15 +01:00
armv4_5_cfi_intel_8.s update files to correct FSF address 2013-06-05 19:52:42 +00:00
armv4_5_cfi_intel_16.s update files to correct FSF address 2013-06-05 19:52:42 +00:00
armv4_5_cfi_intel_32.s update files to correct FSF address 2013-06-05 19:52:42 +00:00
armv4_5_cfi_span_8.s update files to correct FSF address 2013-06-05 19:52:42 +00:00
armv4_5_cfi_span_16.s update files to correct FSF address 2013-06-05 19:52:42 +00:00
armv4_5_cfi_span_16_dq7.s update files to correct FSF address 2013-06-05 19:52:42 +00:00
armv4_5_cfi_span_32.s update files to correct FSF address 2013-06-05 19:52:42 +00:00
armv7m_cfi_span_16.s update files to correct FSF address 2013-06-05 19:52:42 +00:00
armv7m_cfi_span_16_dq7.s Support for SST 39VF3201C NOR flash 2013-07-01 08:39:36 +00:00
armv7m_io.s update files to correct FSF address 2013-06-05 19:52:42 +00:00
cortex-m0.S Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
efm32.S flash: efm32: add support for EFR-familty (e.g. bluegecko) 2017-10-03 11:22:18 +01:00
k1921vk01t.S niietcm4: support for NIIET's Cortex-M4 microcontrollers 2015-11-26 12:17:25 +00:00
lpcspifi_erase.S update files to correct FSF address 2013-06-05 19:52:42 +00:00
lpcspifi_init.S update files to correct FSF address 2013-06-05 19:52:42 +00:00
lpcspifi_write.S flash/nor/lpcspifi.c: fix bug that prevented clean reset after flash write 2014-11-24 22:14:38 +00:00
mdr32fx.S mdr32fx: support for Milandr's MDR32Fx internal flash memory 2013-08-07 21:02:51 +00:00
mrvlqspi_write.S flash/nor: add mrvlqspi flash controller driver 2014-09-22 19:37:09 +00:00
pic32mx.s update files to correct FSF address 2013-06-05 19:52:42 +00:00
sim3x.s sim3x: new flash driver for Silabs SiM3 microcontroller family 2015-02-11 22:05:22 +00:00
stellaris.s update files to correct FSF address 2013-06-05 19:52:42 +00:00
str7x.s update files to correct FSF address 2013-06-05 19:52:42 +00:00
str9x.s update files to correct FSF address 2013-06-05 19:52:42 +00:00