xtensa: implement ccount calibration for s6000
authorOskar Schirmer <os@emlix.com>
Mon, 11 May 2009 13:43:36 +0000 (15:43 +0200)
committerChris Zankel <chris@zankel.net>
Tue, 12 May 2009 05:00:17 +0000 (22:00 -0700)
commitb070a03f6490b0ac8d95c51b55a64e433d9160ab
tree4715316e494f17980504ee2902a14e1a7d495d05
parentd15f05eb8cc4ad59699c16b8ae834b85c6d39bfe
xtensa: implement ccount calibration for s6000

Calculate core frequency from timers at boot time
instead of assuming a fixed frequency. This is
useful as the true frequency is set up by the
boot loader, thus variable.

Signed-off-by: Oskar Schirmer <os@emlix.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/Kconfig
arch/xtensa/variants/s6000/Makefile
arch/xtensa/variants/s6000/delay.c [new file with mode: 0644]