aboutsummaryrefslogtreecommitdiff
path: root/tcl/target
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2016-05-03 01:47:54 +0200
committerTomas Vanek <vanekt@fbl.cz>2018-06-06 15:49:14 +0100
commitf1427cca3cc6097a4635b4095ad1e30c8a508ac0 (patch)
treeb81d433173a7bf4325bd9fd247f31ddd5a89aa3f /tcl/target
parent2d5f2ede55150235352773a976166c3ab68297bc (diff)
downloadriscv-openocd-f1427cca3cc6097a4635b4095ad1e30c8a508ac0.zip
riscv-openocd-f1427cca3cc6097a4635b4095ad1e30c8a508ac0.tar.gz
riscv-openocd-f1427cca3cc6097a4635b4095ad1e30c8a508ac0.tar.bz2
psoc5lp: Add EEPROM flash driver
Tested on CY8CKIT-059. Change-Id: Ib02262e8eebf0df3d29492b8a7daa65b262da580 Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-on: http://openocd.zylin.com/3433 Tested-by: jenkins
Diffstat (limited to 'tcl/target')
-rw-r--r--tcl/target/psoc5lp.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcl/target/psoc5lp.cfg b/tcl/target/psoc5lp.cfg
index 68d83b0..2089158 100644
--- a/tcl/target/psoc5lp.cfg
+++ b/tcl/target/psoc5lp.cfg
@@ -57,6 +57,7 @@ $_TARGETNAME configure -event reset-init {
set _FLASHNAME $_CHIPNAME.flash
flash bank $_FLASHNAME psoc5lp 0x00000000 0 0 0 $_TARGETNAME
+flash bank $_CHIPNAME.eeprom psoc5lp_eeprom 0x40008000 0 0 0 $_TARGETNAME
if {![using_hla]} {
cortex_m reset_config sysresetreq