]> git.sur5r.net Git - openocd/commitdiff
lpc4350_spifi_generic: Clean up work area size
authorAndreas Färber <afaerber@suse.de>
Sat, 31 Oct 2015 16:23:21 +0000 (17:23 +0100)
committerFreddie Chopin <freddie.chopin@gmail.com>
Tue, 3 Nov 2015 22:09:17 +0000 (22:09 +0000)
Since 2cbbe9a it was actually decreasing the configured work area size.

We could now do "set WORKAREASIZE 0x2000" before sourcing lpc4350.cfg,
but there seems no point in doing so. Simply drop the configuration here.

Change-Id: I25b9dbbc007ba652b66099832198b7c329929858
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-on: http://openocd.zylin.com/3086
Tested-by: jenkins
Reviewed-by: Karl Palsson <karlp@tweak.net.au>
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
tcl/board/lpc4350_spifi_generic.cfg

index a529c19bbce7c772ca33f44072e86bc3fb86650f..b363f1eff8d27c7d63121b8ffbe64e9d962dbe91 100644 (file)
@@ -8,11 +8,6 @@ set CHIPNAME lpc4350
 
 source [find target/lpc4350.cfg]
 
-#A large working area greatly reduces flash write times
-set _WORKAREASIZE 0x2000
-
-$_CHIPNAME.m4 configure -work-area-phys 0x10000000 -work-area-size $_WORKAREASIZE
-
 #Configure the flash bank; 0x14000000 is the base address for
 #lpc43xx/lpc18xx family micros.
 flash bank SPIFI_FLASH lpcspifi 0x14000000 0 0 0 $_CHIPNAME.m4