]> git.sur5r.net Git - openocd/commit
sam4s flash: fix PLLA frequency calculation if diva > 1
authorThomas Schmid <thomas.schmid@gmail.com>
Thu, 24 Oct 2013 15:32:35 +0000 (09:32 -0600)
committerSpencer Oliver <spen@spen-soft.co.uk>
Tue, 29 Oct 2013 22:51:33 +0000 (22:51 +0000)
commite3229bdfbbedeff548902c42bed31a23b99cc1d1
tree63942d260c2d52fceb1408615446c75b8dd77f68
parentb16a7f9f6e3c7c417fa3d0d0bf042f032ee446f6
sam4s flash: fix PLLA frequency calculation if diva > 1

The code didn't address the case where diva is bigger than 1.

Change-Id: I15d8c47aa7b5cf80df1f29e067f30575f5d60a90
Signed-off-by: Thomas Schmid <thomas.schmid@gmail.com>
Reviewed-on: http://openocd.zylin.com/1765
Tested-by: jenkins
Reviewed-by: Mathias Küster <kesmtp@freenet.de>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/flash/nor/at91sam4.c