2
0
mirror of git://git.code.sf.net/p/openocd/code synced 2025-07-19 04:48:44 +10:00
openocd/contrib/loaders/flash
Tarek BOCHKATI b61a280860 flash/stm32l4x: fix flash programming in 64-bit hosts
stm32l4_work_area struct is shared between the loader and stm32l4x flash driver

'*wp' and '*rp' pointers' size is 4 bytes each since stm32l4x devices have
32-bit processors.

however when used in openocd code, their size depends on the host
  if the host is 32-bit, then the size is 4 bytes each.
  if the host is 64-bit, then the size is 8 bytes each.

to avoid this size difference, change their types depending on the
usage (pointers for the loader, and 32-bit integers in openocd code).

Change-Id: I0a3df4bb4bf872b01cdb9357eb28307868d7d469
Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6556
Tested-by: jenkins
Reviewed-by: Yestin Sun <sunyi0804@gmail.com>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2021-09-12 14:26:31 +00:00
..
at91sam7x contrib: fix minor typos 2020-07-26 20:14:51 +01:00
bluenrg-x bluenrg-x: simplyfied the driver 2020-03-07 15:31:09 +00:00
cc26xx contrib: fix minor typos 2020-07-26 20:14:51 +01:00
cc3220sf
fespi
fm4
fpga
kinetis
kinetis_ke
max32xxx
msp432 contrib: fix minor typos 2020-07-26 20:14:51 +01:00
npcx flash/nor: add support for Nuvoton NPCX series flash 2021-09-02 06:42:54 +00:00
nrf5 loaders/flash/nrf5: add CPU type to loader source 2020-05-03 21:43:36 +01:00
sh_qspi
stm32 flash/stm32l4x: fix flash programming in 64-bit hosts 2021-09-12 14:26:31 +00:00
stmqspi Flash, FRAM and EEPROM driver for STM32 QUAD-/OCTOSPI interface 2020-11-08 22:46:00 +00:00
xmc1xxx
armv4_5_cfi_intel_8.s
armv4_5_cfi_intel_16.s
armv4_5_cfi_intel_32.s
armv4_5_cfi_span_8.s
armv4_5_cfi_span_16_dq7.s
armv4_5_cfi_span_16.s
armv4_5_cfi_span_32.s
armv7m_cfi_span_16_dq7.s
armv7m_cfi_span_16.s
armv7m_io.s coding style: contrib: remove empty lines at end of text files 2020-05-02 15:40:26 +01:00
cortex-m0.S
efm32.S
k1921vk01t.S
lpcspifi_erase.S
lpcspifi_init.S
lpcspifi_write.S
mdr32fx.S
mrvlqspi_write.S contrib: fix minor typos 2020-07-26 20:14:51 +01:00
pic32mx.s
sim3x.s
stellaris.s
str7x.s contrib: fix minor typos 2020-07-26 20:14:51 +01:00
str9x.s contrib: fix minor typos 2020-07-26 20:14:51 +01:00