]> git.sur5r.net Git - openocd/commit
Work around silicon bug in the SAM3 family flash waitstates
authorAttila Kinali <attila@kinali.ch>
Thu, 27 Oct 2011 10:14:55 +0000 (12:14 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Thu, 10 Nov 2011 15:41:44 +0000 (15:41 +0000)
commit4c3a87c28f61edc9b83d96142792fb0fc937f371
treec5bfb3662ced36a357bc321b39ee1b61136cd820
parent86e3cd20dd8738285c078c30a3b4d2a0cf57052b
Work around silicon bug in the SAM3 family flash waitstates

* Add flash waitstate support for Atmel SAM3 chips.
* Set default waitstates to 6, to workaround a silicon bug in the SAM3 family

This code has been tested on SAM3U4, SAM3N4 and SAM3N1

based on Change-Id: I477446f9bfb3e910ea3e2414a6e9a75beb14a214
by Jim Norris <u17263@att.net>

Change-Id: I8d360080f6968979ca5e197ad638282cadd18fb7
Signed-off-by: Attila Kinali <attila@kinali.ch>
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/128
Tested-by: jenkins
src/flash/nor/at91sam3.c