sam3 system clock setting: optimize run-time evaluation to prefer greater
authoraleph <aleph@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 3 Mar 2011 14:02:59 +0000 (14:02 +0000)
committeraleph <aleph@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 3 Mar 2011 14:02:59 +0000 (14:02 +0000)
commit6b7bd43e5f6662de73ee185c65b4f4900bd3d816
tree95b89bead420a2eda306c80225fe9e44dffe04ae
parentdfbf7a9feb9d1325e362c2d71290f33e832ef721
sam3 system clock setting: optimize run-time evaluation to prefer greater
multiplier and divider setting, and use compiled in multiplier and divider
values for common frequencies in sam3n/x/a.
Furthermore remove some useless CKGR settings and do things in a compatible
manner between sam3x and sam3n.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4746 38d2e660-2303-0410-9eaa-f027e97ec537
bertos/cpu/cortex-m3/drv/clock_sam3.c