flash: ROM support

The only reason to define a read-only region is that gdb needs
a complete memory map to choose hard or soft breakpoints properly.

Change-Id: I9d05cb6b91f054ad5cc9333af6b14eb433dbdc99
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: https://review.openocd.org/c/openocd/+/5106
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
This commit is contained in:
Tomas Vanek
2019-04-11 08:29:15 +02:00
committed by Antonio Borneo
parent 3c1bd50217
commit 8ee7cb12cf
8 changed files with 122 additions and 50 deletions

View File

@@ -71,6 +71,7 @@ static const struct flash_driver * const flash_drivers[] = {
&psoc5lp_nvl_flash,
&psoc6_flash,
&qn908x_flash,
&read_only_flash,
&renesas_rpchf_flash,
&rp2xxx_flash,
&rsl10_flash,