summaryrefslogtreecommitdiffstats
path: root/contrib/diff/src/analyze.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2012-05-21 04:24:58 +0000
committerimp <imp@FreeBSD.org>2012-05-21 04:24:58 +0000
commitd9369891abf987923d688102e4b739f4cbd1fb6f (patch)
treee6877b994a5ebdacaafafe7fcfac8ffb7ba13bc0 /contrib/diff/src/analyze.c
parente7da48dd43890a34e0959201b2b30b80c60a50d4 (diff)
downloadFreeBSD-src-d9369891abf987923d688102e4b739f4cbd1fb6f.zip
FreeBSD-src-d9369891abf987923d688102e4b739f4cbd1fb6f.tar.gz
Another minor re-arrangement of the code: calcualte the master clock
frequency in the at91_pmc_clock_init rather than passing it in. Allow for frequencies >= 21MHz by rounding to the nearest 500Hz (Idea from Ian Lapore whose company uses a similar arrangement in their product). at91_pmc_clock_init() is now nearly independent of the rest of the pmc driver (which means we may be able to call it much earlier in boot soon to eliminate the master clock config file requirement for printf to work during early boot and also eliminate some interdependencies with the device ordering which requires pmc to be the first device added).
Diffstat (limited to 'contrib/diff/src/analyze.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud