Warner Losh e5db213663 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).
2012-05-21 04:24:58 +00:00
..
2010-10-06 22:25:21 +00:00
2010-10-06 22:40:27 +00:00
2010-10-06 22:25:21 +00:00
2010-10-06 22:25:21 +00:00
2010-10-06 22:25:21 +00:00
2010-10-06 22:25:21 +00:00
2010-10-06 22:25:21 +00:00
2010-10-06 22:40:27 +00:00
2010-10-06 22:25:21 +00:00
2010-10-06 22:25:21 +00:00
2010-10-06 22:25:21 +00:00
2010-10-06 22:25:21 +00:00
2010-10-06 22:40:27 +00:00
2010-10-06 22:25:21 +00:00
2010-10-06 22:40:27 +00:00
2010-10-06 22:40:27 +00:00