riscv-openocd/src/flash
Marc Schink 94ba5219ed flash/nor/stm32l4: Fix stm32l4_probe()
The current implementation fails due to the assert() statements in
get_stm32l4_rev_str() and get_stm32l4_bank_type_str(). Rearrange the
code in order to fix the problem.

Change-Id: If19c648dec8ddd3ef2fb801150114104b34c3bf2
Signed-off-by: Marc Schink <dev@zapb.de>
Fixes: 64c2e03b23 ("flash/nor: improved API of flash_driver.info & fixed buffer overruns")
Reviewed-on: http://openocd.zylin.com/6326
Tested-by: jenkins
Reviewed-by: Jan Matyas <matyas@codasip.com>
Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
2021-06-27 14:57:16 +01:00
..
nand target/arm: optimize architecture flags 2021-06-18 23:12:54 +01:00
nor flash/nor/stm32l4: Fix stm32l4_probe() 2021-06-27 14:57:16 +01: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 Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
startup.tcl telnet/auto-complete: hide deprecated and internal commands 2021-05-08 09:48:15 +01:00