diff options
author | Andreas Färber <afaerber@suse.de> | 2016-05-03 23:47:54 +0200 |
---|---|---|
committer | Tomas Vanek <vanekt@fbl.cz> | 2018-06-06 18:12:21 +0100 |
commit | 06123153f38280608b1e92dcb766b31ade7e4668 (patch) | |
tree | b225e4a3bb9a629a2f02aea83aae12e055cb2d05 /src/flash/nor/drivers.c | |
parent | 53376dbbede4f0bf42e724ffdb6ff6fdbb7b2204 (diff) | |
download | riscv-openocd-06123153f38280608b1e92dcb766b31ade7e4668.zip riscv-openocd-06123153f38280608b1e92dcb766b31ade7e4668.tar.gz riscv-openocd-06123153f38280608b1e92dcb766b31ade7e4668.tar.bz2 |
psoc5lp: Add NV Latch flash driver
Erasing is not supported by the hardware, it can be written directly.
Tested on CY8CKIT-059, except modifying-write.
Change-Id: I6e920ed930dcd5c7f0b10c5b1b4791a828d9080a
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/3434
Tested-by: jenkins
Diffstat (limited to 'src/flash/nor/drivers.c')
-rw-r--r-- | src/flash/nor/drivers.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/flash/nor/drivers.c b/src/flash/nor/drivers.c index 2d391d2..6e1703b 100644 --- a/src/flash/nor/drivers.c +++ b/src/flash/nor/drivers.c @@ -58,6 +58,7 @@ extern struct flash_driver pic32mx_flash; extern struct flash_driver psoc4_flash; extern struct flash_driver psoc5lp_flash; extern struct flash_driver psoc5lp_eeprom_flash; +extern struct flash_driver psoc5lp_nvl_flash; extern struct flash_driver psoc6_flash; extern struct flash_driver sim3x_flash; extern struct flash_driver stellaris_flash; @@ -119,6 +120,7 @@ static struct flash_driver *flash_drivers[] = { &psoc4_flash, &psoc5lp_flash, &psoc5lp_eeprom_flash, + &psoc5lp_nvl_flash, &psoc6_flash, &sim3x_flash, &stellaris_flash, |