Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/arm/sa11x0



Module Name:    src
Committed By:   chris
Date:           Sun Apr 20 10:21:13 UTC 2008

Modified Files:
        src/sys/arch/arm/sa11x0: sa11x0_ost.c

Log Message:
PXA270 uses a 3.25Mhz clock for OS timers, not 3.6864Mhz.

Also while here fix the delay loop used before timers are enabled to
cause a delay, by using a volatile int to do a countdown.  gcc has become
intelligent enough to optimize an empty loop away.

For delay on PXA270 we should use one of the other counters, and a 1Mhz
clock, so that we don't have to computer the counter increment.

XXX: also looks like there's a bug if the counter wraps, as delay doesn't
look like it allows for that.


To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 src/sys/arch/arm/sa11x0/sa11x0_ost.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index