openocd/src/flash
Marc Schink 210b7d2d16 flash/nor/stmqspi: Replace macros with static inline functions
There is no good reason to use macros instead of static inline functions. The
current code is hard maintain. For example, it changes variables outside of the
macro scope. Also, it is conflicting with the C coding style.

Change-Id: I5ac9d2ae076ef73c176d4e32b2e7e0a99fa875ab
Signed-off-by: Marc Schink <dev@zapb.de>
Reviewed-on: http://openocd.zylin.com/6046
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
2021-03-10 21:36:20 +00:00
..
nand flash/nand/lpc32xx: Remove typedef'd struct 2021-03-10 21:29:58 +00:00
nor flash/nor/stmqspi: Replace macros with static inline functions 2021-03-10 21:36:20 +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
Makefile.am mflash: Remove this broken flash driver 2019-07-28 21:17:47 +01:00
startup.tcl flash/stm32l4x: STM32L55/L56xx basic support (non-secure mode) 2020-11-15 21:55:20 +00:00