From: Andreas Färber Date: Sat, 31 Oct 2015 16:23:21 +0000 (+0100) Subject: lpc4350_spifi_generic: Clean up work area size X-Git-Tag: v0.10.0-rc1~403 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cd94cdcd881008f6e5321832964f338b60012eec;p=openocd lpc4350_spifi_generic: Clean up work area size 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 Reviewed-on: http://openocd.zylin.com/3086 Tested-by: jenkins Reviewed-by: Karl Palsson Reviewed-by: Paul Fertser --- diff --git a/tcl/board/lpc4350_spifi_generic.cfg b/tcl/board/lpc4350_spifi_generic.cfg index a529c19b..b363f1ef 100644 --- a/tcl/board/lpc4350_spifi_generic.cfg +++ b/tcl/board/lpc4350_spifi_generic.cfg @@ -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