aboutsummaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authorrodrigo_l_rosa <rodrigorosa.lg@gmail.com>2011-11-19 15:40:51 -0800
committerØyvind Harboe <oyvindharboe@gmail.com>2011-11-24 23:26:15 +0000
commit83be6cfc1602cb35cd2d90870d75e179074b17aa (patch)
tree896c69bfcdd886b049621fd91ce048702f4aed67 /src/target
parentc725167ba8e2aa9e43bc86e28b44b6cb444740a8 (diff)
dsp5680xx - flash module clk to freescale cfg value
the flash module clock was set according to a spreadsheet from freescale, now it's set according to the configuration file used by the Freescale Flash Programmer. both work, but i think it's better to use the one used by a software that's made by Freescale (should be correct...) Change-Id: I382197a3eb43dd47ff4b9b83d5e05008d5613fc6 Signed-off-by: Rodrigo L. Rosa <rodrigorosa.lg@gmail.com> Reviewed-on: http://openocd.zylin.com/223 Tested-by: jenkins Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
Diffstat (limited to 'src/target')
-rw-r--r--src/target/dsp5680xx.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/target/dsp5680xx.h b/src/target/dsp5680xx.h
index cb009513..e2194afc 100644
--- a/src/target/dsp5680xx.h
+++ b/src/target/dsp5680xx.h
@@ -179,7 +179,8 @@
* This value was calculated using a spreadsheet tool available on the Freescale website under FAQ 25464.
*
*/
-#define HFM_CLK_DEFAULT 0x40
+#define HFM_CLK_DEFAULT 0x27
+/* 0x27 according to freescale cfg, but 0x40 according to freescale spreadsheet... */
#define HFM_FLASH_BASE_ADDR 0x0
#define HFM_SIZE_BYTES 0x4000 // bytes
#define HFM_SIZE_WORDS 0x2000 // words