]> git.sur5r.net Git - openocd/commit
flash/nor/xmc4xxx: Loosen checks for XMC4500
authorAndreas Färber <afaerber@suse.de>
Sun, 19 Apr 2015 19:25:12 +0000 (21:25 +0200)
committerFreddie Chopin <freddie.chopin@gmail.com>
Wed, 11 Nov 2015 12:10:48 +0000 (12:10 +0000)
commited54838ea61afa647a2b6ce2121b4a5bc11995ce
tree19868a13201076527b1871fac2313b1347cea2f3
parent33b048d456e24b9944ff2261cf26b05d630bdd41
flash/nor/xmc4xxx: Loosen checks for XMC4500

According to Infineon, XMC4500 EES AA13 with date codes before GE212 -
as seen on an XMC4500 General App Kit - had a zero SCU_IDCHIP register.

Handle this by extending our checks to not error out on zero SCU_IDCHIP
and by printing a useful info string in that case.

Change-Id: Ic2d641a314627dd5a1ff775a0113999191b95e3d
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-on: http://openocd.zylin.com/2751
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-by: Jeff Ciesielski <jeffciesielski@gmail.com>
src/flash/nor/xmc4xxx.c