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
This commit is contained in:
Andreas Färber
2016-05-03 01:47:54 +02:00
committed by Tomas Vanek
parent 2d5f2ede55
commit f1427cca3c
4 changed files with 285 additions and 0 deletions

View File

@@ -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