openocd/src/flash
Antonio Borneo 2bbd85a828 flash/nor/stmsmi: fix compile error with clang 12.0.0
The git preliminarily version of clang 12.0.0_r370171
f067bc3c0ad6 reports an error in the expansion of the macro
SMI_READ_REG():

	error: '(' and '{' tokens introducing statement expression
		appear in different macro expansion contexts
		[-Werror,-Wcompound-token-split-by-macro]

Remove one intermediate macro expansion to make clang happy.

Change-Id: I8ae6d9c18808467ba8044d70cbf0a4f76a18d3e6
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5958
Tested-by: jenkins
Reviewed-by: Xiaofan <xiaofanc@gmail.com>
2020-12-09 14:30:27 +00:00
..
nand flash: declare local symbols as static 2020-11-04 17:39:05 +00:00
nor flash/nor/stmsmi: fix compile error with clang 12.0.0 2020-12-09 14:30:27 +00:00
Makefile.am mflash: Remove this broken flash driver 2019-07-28 21:17:47 +01: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
startup.tcl flash/stm32l4x: STM32L55/L56xx basic support (non-secure mode) 2020-11-15 21:55:20 +00:00