Default to lpc8xx as before, but allow setting the actual CHIPNAME.
Change-Id: I5a48fa75c640440a0d4c3f2858653e94bed846d2
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-on: http://openocd.zylin.com/3084
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
# NXP LPC8xx Cortex-M0+ with at least 1kB SRAM
-set CHIPNAME lpc8xx
+if { ![info exists CHIPNAME] } {
+ set CHIPNAME lpc8xx
+}
set CHIPSERIES lpc800
if { ![info exists WORKAREASIZE] } {
set WORKAREASIZE 0x400